Bypassing reCAPTCHA Due to Missing Server-Side Validation
The registration endpoint accepted signup requests that omitted the reCAPTCHA token entirely, so the CAPTCHA check could be skipped. An attacker could therefore automate unlimited account registrations and potentially brute-force or bypass rate limits without solving a challenge each time.
medium.com
Published on medium.com
Most developers think that once reCAPTCHA is integrated, automated abuse is no longer a concern. Unfortunately, that’s not always true.
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 verified a token when present but never required one, and never tracked tokens as single-use, so the check could simply be omitted.
Impact
The author claims this allowed continuous account registration with a single CAPTCHA solution and could be a step towards bypassing rate limits, for example to run a brute-force attack.
What the attacker needed
Access to the registration endpoint; a proxy tool such as Burp Suite
The fix
The server should require a reCAPTCHA token on every protected request and reject tokens that are missing, already used, or expired.
How it was found
- Solve the CAPTCHA normally so a valid token is issued.
- Intercept the registration request in a proxy tool.
- Send the request to the repeater tool.
- Remove the CAPTCHA parameter and replay the request.
- Observe that the server still processes the registration.
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.
reCAPTCHA is a puzzle meant to prove a human is filling in a form. The website is supposed to send the puzzle's answer to Google and refuse the request if the answer is missing or already used. Here the site simply did not check, so a script could submit the form over and over without ever solving the puzzle.
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.