Skip to content
Race condition Write-up Intermediate

How I Exploited 3 Unique Race Condition Bugs

The report describes three race condition vulnerabilities: bypassing a free-tier project limit, inflating follower counts, and earning extra points by submitting the same answer multiple times. An attacker could exploit these to exceed intended quotas and gain unauthorised benefits.

medium.com

Published on medium.com

Hiyya I am Raunak Gupta, a Security Researcher and Bug Bounty Hunter for fun and profit.

Raunak Gupta Aka B1scuit, 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 performs a non-atomic check (e.g., counting existing items) before inserting a new record, without locking or transactional isolation, so concurrent requests all pass the check.

Impact

Attackers could bypass paywalls, inflate follower counts, and earn extra points, leading to resource abuse and business logic violations; the third bug was on an out-of-scope domain and only earned a $50 bounty.

What the attacker needed

A free account; Burp Suite with Turbo Intruder or similar; ability to send parallel requests

The fix

The application should enforce limits atomically, for example by using database transactions with row-level locking or atomic counters.

How it was found

  1. Capture the request that creates a project (or follows a user, or submits an answer).
  2. Send the request to Burp Repeater and duplicate it several times.
  3. Group the duplicated requests.
  4. Use the 'Send request in parallel (Single Packet Attack)' option to send them simultaneously.
  5. Observe that multiple actions succeed despite the limit.

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 race condition happens when a system checks a limit and then performs an action, but if many requests arrive at the same time, the check can be bypassed because the action hasn't finished yet. Here, sending many requests simultaneously let the attacker create more projects, add more followers, or earn more points than allowed.

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.

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.