How I Got My First Critical Bug ## Easy Bug
The forgot password response reflected the recovery token, allowing an attacker to obtain it and take over accounts. The author claims this leads to account takeover.
medium.com
Published on medium.com
Today, I would like to share my first critical bug. Let’s gooooooo!
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
Impact
An attacker could obtain the recovery token and take over the account.
What the attacker needed
A free account; access to the forgot password function
How it was found
- Create an account on the target program.
- Test the 'Forgot Password' function.
- Review the response and notice the recovery token is reflected.
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 your password, a website often sends a secret code to your email so you can prove it is you. Here, the website also put that secret code directly in the reply it sent back to the browser, so anyone who asked for a reset could see it without needing access to the email. That would let an attacker reset someone else's password and take over their 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.