Skip to content
Race condition Disclosed report Beginner

Race condition vulnerability on "This Rocks" button.

The "This Rocks" button's API accepted multiple rapid invocations, letting a user rock the same item more than once despite a one-per-user limit. An attacker could spam the function and fill a targeted victim's notifications inbox.

netfuzzer Follow

Originally disclosed on HackerOne

  • Triaged in 24 hours
  • Fixed in 3 months
  • Paid in 5 days
  • Disclosed after 17 months

Summary by the program

In this report, the researcher brought to our attention a misbehavior in the "This Rocks" button that we use on the Social Club site. Using curl and a proxy tool such as Burp Suite, an attacker could invoke the "This Rocks" API call multiple times rapidly, and the system would accept multiple invocations of the call. This could allow a user to spam the function and "rock" a post or other item multiple times, despite only being allowed to do so once. Ordinarily issues in this category do not qualify for bounties in our program, but this had a significant adverse impact on User Experience due to being able to fill up a targeted victim's notifications inbox with this technique. This issue has since been resolved.

The original report as published on HackerOne, by netfuzzer. 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 one-rock-per-user limit was enforced with a check-then-act sequence that was not atomic, so concurrent requests all passed the check before any was recorded.

Impact

A user could rock an item many times and flood a targeted victim's notifications inbox, which the program treated as a significant adverse impact on user experience.

What the attacker needed

An account on the Social Club site; ability to send rapid repeated API requests

The fix

The text says the issue was resolved but does not describe how.

How it was found

  1. Capture the "This Rocks" API request using a proxy tool.
  2. Replay the request many times in quick succession, for example with curl.
  3. Observe that the system accepts multiple invocations instead of only one.

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 race condition is when a program checks a rule and then acts, but someone sends many requests so fast that the check passes several times before the first action is recorded. Here the site meant to allow one "rock" per person, but rapid repeated requests all got through. The result was spam notifications for the person whose post was targeted.

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 netfuzzer

View all

47 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.

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.