Banning users Race condition
A user-reporting feature allowed each account to report another user only once, and banning required over 100 reports. By firing many report requests simultaneously with a race-condition tool, the reporter bypassed the one-report limit and got the victim banned.
Published on web.archive.org
example: you are booking a train ticket online and only a single seat ( assume seat no:5 ) is there. now you book a ticket for that seat and at the same time some other person from the different locations also booking the same seat, same time and you both booked the same seat ( seat no:5 ) and got seat booked for both…
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
Impact
An attacker could bypass the one-report-per-user limit and mass-report a victim, causing their account to be banned.
What the attacker needed
A logged-in account; ability to report another user; race-condition tooling
How it was found
- Open the victim's profile page and click the report button.
- Intercept the resulting report request.
- Send the request to a race-condition tool and queue many copies to fire together.
- Launch the attack and observe many successful responses.
- Increase the number of requests until more than 100 reports are accepted.
- Wait a few hours and the victim account is banned.
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 program checks something and then acts on it, but many requests arrive in the same instant before the check is remembered. Here the site checked whether you had already reported a user, but sending lots of requests at once meant many passed the check before the first one was recorded. The attacker used that to submit far more reports than allowed and got someone banned.
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.