Bypassing CAPTCHA with No Rate Limiting potentially leads to ATO.
The login page's CAPTCHA check could be skipped by setting a boolean parameter to true while omitting the CAPTCHA token, and the endpoint had no rate limiting. An attacker could then brute-force passwords without any limit, which the author says could lead to account takeover.
medium.com
Published on medium.com
Hello everyone, my name is Youssef Awad, and in this write-up, I will discuss about a bug I discovered while hunting on a Bug Bounty program on Bugcrowd, which I will refer to as target.com.
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 decided whether to validate the CAPTCHA based on a client-supplied boolean parameter rather than always enforcing it, and the login endpoint had no rate limiting.
Impact
An attacker could brute-force credentials without CAPTCHA or rate limiting, which the author claims could lead to takeover of regular or admin accounts.
What the attacker needed
Reachable login page; no account needed to attempt logins
How it was found
- Submit invalid credentials with a solved CAPTCHA and intercept the request.
- Remove the CAPTCHA token and observe the server rejects it as an invalid token.
- Change the isSingleUser parameter to true while removing the token and observe the normal invalid-credentials response.
- Send many login attempts with different passwords using an intruder tool and observe all return 200 OK.
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 CAPTCHA is a puzzle meant to prove a human, not a script, is logging in. Here the server trusted a flag sent by the browser to decide whether to check the CAPTCHA, so a script could just flip that flag and skip the puzzle. With no limit on how many guesses were allowed, someone could keep trying passwords until one worked.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.