Skip to content
Business logic Write-up Beginner

How I Bypassed a CAPTCHA Without Solving It

The forgot-password flow relied on a client-side flag to decide whether the CAPTCHA had been solved, so an attacker could flip that flag in the server response and proceed without solving it. This allowed bypassing the CAPTCHA step entirely.

medium.com

Published on medium.com

While testing the “forgot password” feature on a target website, I discovered a way to bypass the CAPTCHA step by modifying a JSON response from the server — without solving the CAPTCHA at all.

Mazen Ibrahim, 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 application trusted a client-side boolean flag to determine CAPTCHA completion instead of validating the CAPTCHA token server-side.

Impact

An attacker could bypass the CAPTCHA on the forgot-password form, potentially enabling automated abuse such as email enumeration or password reset spam.

What the attacker needed

Access to the forgot password page; a proxy tool to intercept responses

The fix

CAPTCHA validation should be performed on the server side, not by trusting a client-supplied flag.

How it was found

  1. Open the forgot password page.
  2. Enter any email and submit to trigger the CAPTCHA.
  3. Intercept the server response with a proxy.
  4. Change the solved flag from false to true.
  5. Forward the modified response to the browser.
  6. The application allows continuing as if the CAPTCHA was solved.

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 is present. Here the website asked the browser to check a simple true/false value to decide if the puzzle was done, instead of checking on its own server. By changing that value in the response, the attacker skipped 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.

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.