Skip to content
Race condition Write-up Intermediate

Cracking reCAPTCHA, Turbo Intruder style

Google reCAPTCHA tokens could be reused multiple times if submitted simultaneously, allowing an attacker to bypass the one-time-use restriction and register multiple accounts with a single captcha solution. This could triple spam account registration rates and potentially enable other race condition exploits on sites protected by reCAPTCHA.

James Kettle Follow

Published on portswigger.net

Tired of proving you're not a robot? In this post, I'll show how you can partially bypass Google reCAPTCHA by using a new Turbo Intruder feature to trigger a race condition.

James Kettle (@albinowax), on portswigger.net

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

Impact

An attacker could register multiple accounts with a single reCAPTCHA solution, potentially tripling spam rates and enabling other race condition exploits on sites protected by reCAPTCHA.

What the attacker needed

Target uses reCAPTCHA; ability to send simultaneous requests; valid reCAPTCHA token

The fix

Websites should manually secure reCAPTCHA by locking or synchronising on the g-recaptcha-response token, as Google declined to fix the issue.

How it was found

  1. Set up Turbo Intruder with last-byte synchronization to send multiple requests simultaneously.
  2. Queue multiple registration requests with the same reCAPTCHA token using a gate.
  3. Open the gate to release all requests at once.
  4. Observe that multiple accounts are created with a single token.

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 test to prove you are human, and normally each solved test can only be used once. This report shows that if you send many requests at the exact same moment, the same solved test can be accepted more than once, letting you create multiple accounts from one test. The issue is that the check and the use of the token are not done atomically, so a race condition occurs.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More by James Kettle

View all

10 more disclosed reports, best first.

More from Google

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.