INSTAGRAM Account Takeover 0-click Username and email Collision in Password Recover $130k+ bounty
The author claims that Instagram's password reset flow confuses a username with an email address, so an attacker who registers an email matching a victim's username can receive the reset link and have that address added to the victim's account without verification. They say this allowed them to log in, remove the victim's original email and bypass two-factor authentication, though Meta closed the report as not applicable.
A Indian hacker and a student so the story begin with hacking when i have completed my ethical hacking i went to web application hacking “Bug Bounty” and learned about everything like Idor , rate limit ,race conditon , xss ,rce smuggling request of http and…etc
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 reset endpoint treated the supplied username as an email address and matched it against a newly registered mailbox, then attached that address to the account without verification.
Impact
An attacker could take over an account with no interaction from the victim and bypass two-factor authentication, though the author notes it only works when the matching email domain is available and Meta ultimately rated the report not applicable.
What the attacker needed
Victim has a username matching an email domain; attacker can register that email address; reset form accepts a username
The fix
The reset flow should verify any newly added address before attaching it and should not treat a username as an email address; the author says the issue was fixed in January.
How it was found
- Find a platform whose password reset form accepts a username.
- Register an email address at the same provider as the victim, using the victim's username as the local part.
- Confirm the new address is available, otherwise pick a different account.
- Request a password reset using the username and receive the link at the new address.
- Log in, remove the victim's original email and bypass two-factor authentication.
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 forget a password, a site sends a reset link to the address on file. Here the site apparently mixed up a username with an email address, so a link meant for the real owner went to an address the attacker had just created. If that address is also added to the account, the attacker can take it over.
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.