How I Turned a Failed “Race Condition” into a $ Bug Bounty Win
The school rating endpoint was vulnerable to a race condition, allowing an attacker to send multiple like requests in parallel and manipulate the total vote count beyond the intended limit. This let the attacker artificially inflate ratings and affect sorting.
This is how curiosity and persistence turned a “failed” test into my first Medium-severity bounty a race condition I nearly missed. If you’re a beginner or a non-technical hunter, this write-up is for you.
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 did not properly synchronise or lock the vote-counting logic, allowing multiple parallel requests to each be processed as if they were the first.
Impact
An attacker could manipulate the total vote count, affecting default sorting and potentially allowing others to cheat rankings, though the severity is medium (CVSS 4.3).
What the attacker needed
A user account; ability to send parallel requests
How it was found
- Find the like endpoint by inspecting Burp history after interacting with the rating page.
- Send the like request to Burp Repeater and duplicate it about 30 times.
- Group the requests and use 'Send group (parallel)' to send them simultaneously.
- Refresh the page to observe that the total rating increased beyond the normal 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 (like one vote per person) but doesn't properly handle multiple requests arriving at the same time. By sending many requests simultaneously, the attacker can bypass the limit and cast extra votes, skewing the rating.
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.