Skip to content
Race condition Write-up Intermediate

My First Bug In Bugcrowd Platform

The application enforced a limit of 10 database servers per account, but the limit was not applied atomically when creating a server. By sending many create-server requests simultaneously, an attacker could create more servers than allowed, bypassing the paid upgrade requirement.

EX_097 Follow

Published on medium.com

My name is Ahmed Nasreddin . I’m bug bounty hunter . today i will tell you about first bug in bugcrowd platform this is story about Race Condition Attack.

EX_097, 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 creation limit was checked and enforced non-atomically, allowing multiple concurrent requests to pass the check before the count was updated.

Impact

An attacker could create more database servers than the allowed limit, bypassing the paid upgrade requirement and potentially causing resource abuse.

What the attacker needed

A free account; ability to intercept requests

The fix

The server creation limit should be enforced atomically, for example by using a database transaction or a lock to ensure the limit is checked and updated in a single operation.

How it was found

  1. Create an account and browse the website to understand its features.
  2. Delete all existing servers to start from a clean state.
  3. Create a new server while intercepting the request with Burp Suite.
  4. Send the intercepted request to Turbo Intruder and select the race condition script.
  5. Configure and launch the attack to send many requests simultaneously.
  6. Refresh the page and observe that 30 servers were created instead of the allowed 10.

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 limit and then performs an action, but if many requests arrive at the same time, the check can pass for all of them before any action is recorded. Here, the site allowed only 10 servers, but by firing many create requests at once, the hunter got 30 servers created, effectively getting paid features for free.

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 EX_097

View all

1 more disclosed report, best first.

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.