ZeroClick Account Takeover : A Four-Bug Chain Exploit
An IDOR in the login process exposed user UUIDs, and a password reset endpoint accepted a UUID and new password without OTP or old password. Combined with OTP resend abuse and a 4-digit OTP brute-force, an attacker could take over any account.
medium.com
Published on medium.com
Imagine being able to take over any account on a platform without any user interaction — no phishing, no social engineering, just pure exploitation.
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 missing authorization checks on the password reset endpoint and insufficient rate limiting on OTP resend and verification.
Impact
A zero-click full account takeover of any user on the platform, as demonstrated by brute-forcing the OTP and retrieving a session token.
What the attacker needed
Knowledge of victim's email; ability to send requests to the platform
How it was found
- Send a request to validate a user's email and observe the response containing the user's UUID.
- Use the UUID in a password reset request with a new password, without providing OTP or old password.
- Request a login OTP and intercept the resend request, which uses the OTP UUID.
- Resend the OTP multiple times to obtain new OTP UUIDs without cooldown.
- Submit batches of 60 OTP guesses to the login endpoint, resending OTP as needed, until the correct OTP is found.
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.
An IDOR is when a website uses an identifier (like a user ID) in a request but doesn't check if you're allowed to use it. Here, the login process leaked a unique user identifier, and the password reset accepted that identifier without asking for proof of identity. By also abusing OTP resend limits and guessing a 4-digit code, the attacker could reset and log into any 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.