Skip to content
Account takeover Write-up Beginner

How One Email Locked Out Two Admins — And How to Avoid It

The admin profile page allowed changing the email address without any verification, and the system did not enforce uniqueness across admin and user accounts. An attacker could set an admin account's email to an address already used by another admin or a normal user, causing both accounts to become unusable or allowing a password reset to change the admin's password.

medium.com

Published on medium.com

Hey everyone! 👋 Welcome back to another story in my series “Finding Bugs Without Using Any Tools.” This one’s a bit weird, kinda funny, and a little frustrating too. But let’s jump in!

StrangeRwhite, 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 failed to verify email ownership and did not enforce email uniqueness across the separate admin and user account systems.

Impact

An attacker could lock out admin accounts or hijack an admin's password reset, but the report notes that paid admin accounts could not be tested and the vendor disputed the severity for member admins.

What the attacker needed

A free admin account; ability to change email without verification

The fix

The application should verify email ownership before accepting a change and enforce email uniqueness across all account types.

How it was found

  1. Create a free admin account.
  2. Go to the profile and change the email to an address not owned by you.
  3. Log out and try to log back in; the account is unusable.
  4. Create another admin account and change its email to an unregistered address.
  5. Try to register a normal user account with that same email; registration is blocked.
  6. Try to reset the password for that email; the admin's password is changed instead.

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.

This is about an admin account where you can change the email address without proving you own it. Because the system doesn't check if that email is already used by someone else, you can create a clash that locks people out or lets you take over another account's password reset.

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.