Email Verification Bypass — A Simple Yet Overlooked Business Logic Flaw
The application only checked email verification on the frontend, so a user who had not verified their email could still reach the dashboard. An attacker could register with an email they do not control and use the account without ever verifying it.
When we think of vulnerabilities, we often imagine fancy stuff — SQL injections, RCEs, or critical auth bypasses. But sometimes, the most interesting bugs hide in simple business logic flows.
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
Likely frontend-only enforcement: the verification check happens in the browser after login, but the backend does not re-validate the user's verification status before serving restricted routes.
Impact
Unverified users could access dashboard pages, which could expose personal or internal content and undermines the purpose of verification, especially for compliance-heavy apps.
What the attacker needed
Ability to register an account; no email access needed
The fix
The backend should re-check the user's verification status on every restricted request rather than relying on a frontend redirect.
How it was found
- Register a new account with an email address.
- Log in without clicking the verification link.
- Observe the redirect to a 'Please verify your email' page.
- Press the browser's back button.
- The dashboard loads without verification.
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, many sites ask you to click a link in an email to prove the address is yours. Here the site showed a 'please verify' page, but the server behind it never actually checked whether you had verified. So pressing the browser's back button took you straight into the account anyway.
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.