My Account Takeover Writeup: $5000
The login flow used a six-digit numeric OTP sent by email, and the server did not limit how many times an attacker could try different codes. An attacker could brute-force the OTP and take over a victim's account.
Today, I’m sharing my one of my bug bounty writeup. This is about account takeover by abusing rate limit bug and scoring $5000 bounty for it.
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 OTP verification endpoint lacked any rate limiting or lockout after repeated failed attempts.
Impact
An attacker could take over a victim's account by brute-forcing the OTP, as demonstrated in this report.
What the attacker needed
Victim's email or account identifier; ability to submit OTP guesses
The fix
The company fixed the bug, likely by adding rate limiting to OTP attempts.
How it was found
- Sign in to an account and reach the OTP entry step.
- Repeatedly submit different six-digit OTP values.
- Continue until the correct OTP is found and the account is accessed.
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.
A one-time password (OTP) is a short code sent to your email or phone to prove it is you. If a website lets someone guess that code over and over without slowing them down, a criminal can try every possible code until they get in. This report shows that happening with a six-digit code.
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.