Find first Bug [Simple But Critical Bug] That gives you a lot o
The application allows two accounts to be created with the same username but different email addresses, causing confusion about account ownership. This could lead to account takeover.
This article describes a vulnerability that has led to many successful bug bounty rewards. I recommend testing for this vulnerability on the target, as there is high chance (around 90%) it might exist there as well.
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 does not enforce uniqueness of usernames during signup, allowing duplicate usernames with different emails.
Impact
This could lead to account takeover because the application becomes confused about who owns the account.
What the attacker needed
Access to signup page; two different email addresses; ability to receive OTPs
How it was found
- Choose a target and go to its signup page.
- Open the same signup page in a different browser or incognito mode.
- On the username field, enter the same username but use a different email address.
- Receive the OTP on each respective email.
- Enter the OTP and create the account; if it succeeds, note that the same username now exists with a different email.
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 app should not let two people use the same username. Here, it does, so the system gets confused about who really owns that username. An attacker could then take over the account.
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.