Skip to content
Race condition Write-up Intermediate

How a Simple Race Condition Vulnerability Down a SaaS Global Platform

The job creation API checked per-user job and node limits before locking state, so many concurrent requests each passed validation and were all accepted. This let a single free-tier user schedule hundreds of oversized jobs, overwhelming the scheduler and causing a platform-wide outage where no user could launch apps or run jobs.

infosecwriteups.com

Published on infosecwriteups.com

While testing a SaaS platform, I discovered a critical bug in its job submission system. By exploiting a race condition with oversized job requests, I was able to trigger a global outage where no user could launch apps, create notebooks, run jobs, and even access the platform till it reboot manually.

Abhi Sharma, on infosecwriteups.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 job and node limit checks and the scheduler resource reservation were not atomic, so concurrent requests each passed validation independently before any state was locked.

Impact

The platform suffered a global denial of service, with jobs stuck, apps failing to launch and users across the service getting server errors, and the report notes the tester was told DoS testing was not allowed.

What the attacker needed

A free account; ability to intercept and replay requests; no DoS testing allowed on the program

The fix

The backend should enforce job and node limits atomically, for example with locking or a single transactional check, and apply rate limiting server-side rather than only in the UI.

How it was found

  1. Create an account on the SaaS platform.
  2. Start a job creation request with a node count of 10.
  3. Capture the request and change the node count to 1000, then send it to Turbo Intruder.
  4. Fire many requests simultaneously using a race condition script.
  5. Wait a few minutes, then try to launch new jobs or notebooks from another account.
  6. Observe that jobs never progress, applications fail, and the whole service is disrupted.

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 is when a program checks something and then acts on it, but another request slips in between the check and the action. Here the server asked 'is this user under their limit?' for many requests at once, and every one got a yes before any of them was counted. The result was far more jobs than allowed, which overloaded the shared system for everyone.

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.