🔥 Account Takeover via Duplicate Registration — A 1500 Euro Jackpot
The registration flow allowed creating a new account with an email address that already belonged to an existing account. An attacker could re-register the victim's email in a different session and gain control of the victim's orders and account, including changing the password.
Found a critical account takeover in a web application’s registration flow. The platform allowed creating the same account (same email) from a different session, even though the account already existed.
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 registration endpoint did not enforce a uniqueness check on the email address, allowing a second account to be created for an existing email.
Impact
An attacker could take over the victim's account, view their orders and personal data, and lock the victim out by changing the password.
What the attacker needed
Victim has an existing account; attacker knows victim's email; attacker can open a separate session
The fix
The registration flow should reject any attempt to create an account with an email that is already registered.
How it was found
- Create an account with a chosen email and place some orders.
- In a different session, register again using the same email.
- Observe that registration succeeds without a duplicate-account error.
- Access the victim's orders and change the 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, a website should check that the email is not already used. Here it did not, so someone could sign up again with another person's email and end up logged in as that person. That let the attacker see the victim's orders and change their password.
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.