Skip to content
Race condition Write-up Advanced

The Bug That Looked Like A False Positive Until It Wasnt

A private API endpoint intermittently returned 200 OK instead of 403 Forbidden, and the successful responses occasionally contained a support role the account did not have. By replaying requests in a particular order, the author could trigger the authorisation confusion and then use the exposed internal metadata to enumerate and download other users' export jobs.

Fateyaly Follow

Published on systemweakness.com

Read here

Fateyaly, on systemweakness.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 a backend service cached authorisation context longer than intended, creating a race window between token validation, privilege propagation and object authorisation.

Impact

The intermittent authorisation confusion could lead to cross-account data exposure, allowing the author to enumerate and download other users' export jobs and sensitive internal support archives.

What the attacker needed

An authenticated account; ability to send parallel requests; repeated attempts to hit the race window

How it was found

  1. Send a request to the recent tickets endpoint.
  2. Immediately send a request to the internal user export endpoint.
  3. Repeat the pair of requests in parallel many times until a 200 OK is returned.
  4. Inspect the response body for role and storage metadata.
  5. Use the exposed job identifiers to enumerate export jobs belonging to other users.
  6. Download the export jobs to access internal support archives.

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.

An application is supposed to check whether you are allowed to see something every time you ask. Here, that check sometimes passed when it should have failed, because one part of the system remembered an earlier request for a short while. The author noticed the odd behaviour, kept testing, and found that the same flaw let them reach other people's data.

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 Fateyaly

View all

9 more disclosed reports, 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.