Skip to content
Business logic Write-up Beginner

The Illusion of Security: How I Bypassed CAPTCHA to Enumerate Users (and Why It Was a Duplicate)

The password reset endpoint did not validate the reCAPTCHA token server-side, so any value was accepted. An attacker could automate requests to enumerate valid email addresses and trigger password reset emails.

an.anonymous.school Follow

Published on medium.com

When we browse the web, we are trained to trust certain symbols. The Green Lock means “Secure.” The “I am not a robot” checkbox means “No Bots Allowed.”

Zer0Figure, on medium.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-side code accepted the password reset request without verifying the reCAPTCHA token with Google.

Impact

An attacker could enumerate valid user accounts and send password reset emails to flood inboxes, though a rate limiter returned 429 errors after about 50 rapid requests.

What the attacker needed

Access to the password reset page; ability to intercept HTTP requests

The fix

The server should validate the reCAPTCHA token with Google before processing the password reset request.

How it was found

  1. Open the password reset page and submit a valid email with the CAPTCHA.
  2. Intercept the request in Burp Suite and note the CAPTCHA response parameter.
  3. Send the request to Burp Intruder and set the email and CAPTCHA token as payload positions.
  4. Use a list of email addresses and random CAPTCHA values, then start the attack.
  5. Observe that every request returns 200 OK, showing the CAPTCHA is not checked.
  6. Compare response sizes for valid and invalid emails to enumerate accounts.

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 test meant to prove a human is filling in a form, not a script. Here the website showed the test but never checked the answer on its server, so a script could send the form many times. That let the tester find out which email addresses had accounts.

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.

More by an.anonymous.school

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.