Skip to content
Account takeover Write-up Beginner

Account Takeover via Lack of Email Verification Vulnerability

The website allowed account registration without verifying the email address, and also let users set a recovery email and enable 2FA. An attacker could register using a victim's email, set their own recovery email or 2FA, and then take over the account when the victim tried to reset their password.

medium.com

Published on medium.com

Hey guys, welcome back! Today, we are going to discuss a critical security vulnerability—Email Takeover.

Tanishx0h, on medium.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

Impact

An attacker could take over a victim's account, access personal data and connected services, and lock the victim out permanently.

What the attacker needed

Victim's email address known; attacker can register an account; victim attempts to register or reset

The fix

The site should require email verification before allowing account creation or changes to recovery email and 2FA settings.

How it was found

  1. The attacker creates an account using the victim's email address.
  2. The attacker sets their own recovery email in the account settings.
  3. The victim tries to register and sees an 'Email already exists' error.
  4. The victim clicks 'Forgot Password' and attempts a reset.
  5. The password reset process asks for the recovery email, which the attacker controls.
  6. The attacker receives the reset link, changes the password, and gains control.

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, most sites send a link to your email to prove it is yours. This site did not do that, so anyone could create an account using someone else's email address. The attacker then added their own recovery email or two-factor app, so when the real owner tried to reset their password, the attacker could take control.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.