Skip to content
Account takeover Write-up Beginner

The Weird Signup Bug That Let Me Delete Anyone’s Account

The signup flow accepted an email address that already belonged to an existing account and let the person registering change that email on the verification page without proving they owned the original one. Completing registration with the new email removed the original owner's account and its data.

cyberhead Follow

Published on medium.com

“A simple ‘Update Email’ option in the signup flow turned into a vulnerability that could wipe out any user’s account – along with their data and history.”

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

The registration flow allowed the email to be changed during verification without confirming ownership of the original address, and it did not block duplicate account creation.

Impact

The victim could permanently lose their account, therapy history, private conversations and active subscriptions, with no recovery.

What the attacker needed

Victim has an existing account; attacker knows the victim's email; attacker has their own email address

The fix

The flow should reject signups for emails that already exist, require confirmation from both the old and new addresses before a change, ask for password or MFA re-authentication for sensitive changes, and use soft deletion with a recovery window.

How it was found

  1. Start a new registration using an email that already belongs to an existing account.
  2. The system sends a verification code to that existing email.
  3. On the verification page, choose the option to update the email.
  4. Enter a different email that the attacker controls and receive a new code there.
  5. Enter the new code and finish registration.
  6. The original account is deleted or becomes inaccessible.

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, the site usually checks that the email is not already used and that you really own it. Here it let someone start a signup with another person's email, then swap in their own email before finishing, and the site treated that as replacing the original account. The original user lost their account and everything in 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.

More by cyberhead

View all

1 more disclosed report, best first.

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.