How I Found an Email Verification Bypass by Reusing a Verified Va
The backend accepted an email verification identifier without checking that it belonged to the email address being registered. An attacker could reuse a valid identifier from their own verified account to register other email addresses as verified.
Published on medium.com
While testing an account registration flow, I came across an interesting business logic issue that allowed me to bypass the email verification process completely.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The server trusted a client-supplied verification identifier without binding it to the email address being registered or checking that it was issued for the current flow.
Impact
An attacker could create accounts with unverified email addresses and potentially abuse features that rely on verified email ownership, such as registration limits or anti-spam controls.
What the attacker needed
A free account; ability to intercept requests; a second email address
The fix
The server should bind each email_validation_id to the email address it was issued for, reject reused identifiers, and only accept identifiers issued during the current registration flow.
How it was found
- Register and verify an account with your own email address.
- Intercept the requests and note the email_validation_id value.
- Start a new registration with a different email address.
- Intercept the final account creation request and replace its email_validation_id with the one from the verified account.
- Forward the request; the account is created even though the new email was never verified.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When you sign up, the site sends a code to your email to prove the address is yours. This site also gave the browser a reference number for that proof, and the server trusted whatever reference number the browser sent back. By sending a reference number from an account they had already verified, an attacker could make the server believe a different, unverified email address was confirmed.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.