Skip to content
Access control Write-up Beginner

Email Verification Bypass via Remember Me

A website allowed users to log in with an unverified email address when the 'remember me' option was selected, and then reach the dashboard by removing the pending-verification path from the URL. An attacker could create accounts with unverified or temporary email addresses and still access the application.

infosecwriteups.com

Published on infosecwriteups.com

We need to understand that bug 🐞 hunting is not a step by step process all the way. You need to think like this- “If I do this that what will happen”.

viperx9, on infosecwriteups.com

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 broken authentication and session management: the remember-me login path did not check the email-verification state, and the dashboard route trusted that state.

Impact

An attacker could access the dashboard with an unverified email address, bypassing the email-verification requirement; the author notes the bug was not fixed at the time of writing.

What the attacker needed

Ability to sign up with an email address; victim or attacker controls the unverified account

The fix

The login and dashboard routes should check the email-verification state on every request, including remember-me sessions, rather than relying on URL paths.

How it was found

  1. Submit the signup form with an email and password.
  2. Get redirected to a pending-verification URL with a random token.
  3. Remove the pending-verification path from the URL and go to the site root.
  4. Log in with the same unverified email and password, ticking 'remember me'.
  5. Get redirected back to the pending-verification URL.
  6. Remove the pending-verification path again to reach the dashboard.

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 send a link to your email to prove the address is real. This site skipped that check if you ticked 'remember me' at login, and then let you into the dashboard by editing the web address. That means someone could use a fake or temporary email and still get in.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.