Skip to content
Business logic Disclosed report Beginner

Bypass CAPTCHA protection

The CAPTCHA check on sign-in was only enforced after multiple failed attempts, and the server treated each request as a new user when the X-Forwarded-For header was modified. An attacker could therefore bypass the CAPTCHA and carry out brute-force login attacks.

exception Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 21 days
  • Paid in 3 days
  • Disclosed after 14 months

Summary by the program

In this report, the researcher found that it was possible to bypass our CAPTCHA check by injecting a random value into the X-Forwarded-For header in the sign in POST request. At the time the researcher submitted this report, we only enforced CAPTCHA checks on sign-in requests that had failed multiple times in an effort to stop brute-force login attacks. By modifying the X-Forwarded-For header, the researcher discovered that our server would interpret each request as a new user and so it wouldn't force a CAPTCHA check.

After we solved this bug by changing how our servers handled the X-Forwarded-For header, we ended up changing our CAPTCHA system entirely. Now, we use an invisible CAPTCHA that is always active, even on the first login, making for a more secure environment for our users.

The original report as published on HackerOne, by exception. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the server trusted the client-supplied X-Forwarded-For header to identify the user's IP address for rate-limiting and CAPTCHA enforcement.

Impact

An attacker could bypass the CAPTCHA and perform brute-force login attacks without being slowed down.

What the attacker needed

Ability to send custom HTTP headers

The fix

The bug was fixed by changing how the servers handled the X-Forwarded-For header, and the CAPTCHA system was later replaced with an always-active invisible CAPTCHA.

How it was found

  1. Send a sign-in POST request with a modified X-Forwarded-For header.
  2. Observe that the server treats the request as coming from a new user and does not enforce a CAPTCHA check.

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 report has not been written yet. The Original tab links to the source.

A CAPTCHA is a test to prove a human is logging in, used to slow down automated password guessing. The server was deciding whether to show a CAPTCHA based on the IP address in a header that the client can set. By changing that header on every request, the attacker looked like a new user each time, so the CAPTCHA never appeared.

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 exception

View all

7 more disclosed reports, best first.

More from Rockstar Games

View all

The newest disclosed reports for this program.

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.