From Curiosity to Duplicated: How I Found a Critical Account Take
The login used a photo-based challenge where each photo had a numeric identifier, and the server did not limit incorrect guesses. An attacker could brute-force the identifier to find the correct photo and log in as another user, leading to account takeover.
Published on medium.com
I had been testing Redacted.com(not the actual one, it’s just a reference name), for login/signup they are using:
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 server did not rate-limit or lock out repeated incorrect photo selections, allowing brute force of the photo identifier.
Impact
An attacker could bypass authentication and take over any user's account by brute-forcing the photo identifier.
What the attacker needed
Ability to send login requests; no rate limiting on photo guesses
How it was found
- Intercept the login request and notice the secret_picture_id parameter.
- Check whether incorrect photo selections are limited; find no limit.
- Brute-force the numeric secret_picture_id values.
- Identify the correct photo by the different status code.
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.
The site asked users to pick the right photo to log in, and each photo had a number. The server did not stop someone from trying many numbers quickly, so an attacker could guess the right one and get into another person's 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.