Skip to content
Race condition Write-up Beginner

How I Found Three Race Conditions That Let Me Manipulate an Entir

The e-commerce platform's review system lacked atomicity, allowing a single user to submit multiple reviews, report abuse repeatedly, and vote multiple times on the same review by sending parallel requests. An attacker could flood the moderation queue, bury legitimate reviews, and manipulate vote counts sitewide.

Sreejihkn Follow

Published on medium.com

While testing a well-known e-commerce platform, I found three bugs sitting quietly in the same review system. Each one looked small on its own.

Sreejihkn, 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 server performed a check (e.g., 'has this user already reviewed?') and then saved the result as separate steps, without an atomic transaction or unique constraint, so concurrent requests all passed the check before any save completed.

Impact

A single free account could post multiple fake reviews, flood the moderation queue with false abuse reports, and inflate or tank vote counts on any review sitewide, undermining the integrity of the entire review system.

What the attacker needed

A free account; Burp Suite with parallel send feature

The fix

The text does not state that the issue was fixed; it should be fixed by using an atomic transaction, such as a database lock or a unique constraint on user and product, to ensure the check and save happen as one unbreakable action.

How it was found

  1. Create a test account on the website
  2. Go to a product page, write a review, and click Submit
  3. Capture the Submit request in Burp Suite
  4. Make multiple identical copies of the request
  5. Send all copies simultaneously using 'Send group in parallel'
  6. Observe that each request returns 200 OK with a different review ID

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 website checks a rule and then saves data, but if many requests arrive at the same moment, the check can pass for all of them before any save completes. Here, the site allowed one user to post many reviews, report abuse many times, and vote many times on the same review by sending requests simultaneously. This let one person distort the entire review system.

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.