Skip to content
Business logic Write-up Beginner

A Hidden Backdoor: Bypassing reCAPTCHA on the Sign-up Page

The sign-up GraphQL mutation did not enforce reCAPTCHA when the recaptchaResponse parameter was omitted entirely, so the server created accounts without any challenge. An attacker could automate account creation, enabling spam, resource exhaustion and abuse of promotional credits.

medium.com

Published on medium.com

Free Article Link: Click for free!

Ehtesham Ul Haq, 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 treated the reCAPTCHA token as optional and only validated it when present, instead of requiring and verifying it before registration.

Impact

Attackers could automate account creation at scale, leading to fake accounts, spam, resource exhaustion and abuse of promotional credits.

What the attacker needed

Ability to intercept and modify requests; no account needed

The fix

The server should require the recaptchaResponse parameter to be present and verify the token is valid before creating an account.

How it was found

  1. Open the sign-up page and fill in the form.
  2. Intercept the registration request with a proxy tool.
  3. Find the recaptchaResponse parameter in the request body.
  4. Change its value and observe the server rejecting it.
  5. Remove the entire recaptchaResponse parameter while keeping the JSON valid.
  6. Send the request and see the account created without error.

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 or checkbox meant to prove a real person, not a bot, is signing up. Here the website only checked the answer if the answer was sent at all; by deleting the field from the request, the check was skipped and the account was still created. That lets a script make many accounts automatically.

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.