Skip to content
Account takeover Write-up Beginner

Change Email to a Fake One… and Log In!

The application allowed a user to change their account email to any address without verifying it, and then log in with that unverified address. An attacker who already knew a victim's password could move the account to an email they control and lock the real owner out.

medium.com

Published on medium.com

while poking around a web app, I stumbled across something odd. I signed up, got a verification email, but… surprise — the system didn’t actually care whether I verified it or not.

Madhan, 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

Root cause

Likely the application never enforced email verification, neither at signup nor when the email address was changed, so an unverified address was treated as valid for login.

Impact

An attacker who already had a victim's password could take permanent ownership of the account by moving it to an address they control, locking the real user out.

What the attacker needed

Attacker knows the victim's password; a free account

The fix

The text recommends forcing email verification at signup, sending a confirmation link before an email change takes effect, keeping the old address valid until the new one is confirmed, and alerting users when their email changes.

How it was found

  1. Create an account with an email and password, and ignore the verification email.
  2. Log in without verifying the address.
  3. Change the account email in the profile to a different address.
  4. Log out and log back in using the new email and the same password.

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 the address is really yours. This site never checked that proof, and it also let the account's email be swapped for a different one with no confirmation. So anyone holding the password could quietly move the account to their own inbox and keep it.

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.