Skip to content
Race condition Write-up Intermediate

Another 4 Digit Bounty Story on Hackerone

The author found a race condition on a target where the server failed to validate a token within a very short timeframe, allowing the same token to be used more than once. The finding was rated medium severity, and the author notes another hunter reported the same issue and believed it could be raised to high, but the program fixed it before that could be tried.

jai.lani9001 Follow

Published on medium.com

Hello, its me e0x1337, born and raised in Malaysia and have been exploring cyber security world in few years. Started as CTF player, pentester, SOC and now I work full time in Cyber Security doing vulnerability management, part time at night as bug bounty hunter.

e0x1337, 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 checked and consumed the token in separate steps without an atomic operation, so concurrent requests could both pass validation.

Impact

The token could be reused through concurrent requests, though the text does not state the concrete consequence and notes the issue was rated medium until fixed.

What the attacker needed

A target that issues single-use tokens

The fix

The program fixed it, though the text does not describe how.

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 if two requests arrive almost at the same moment, both can pass the check before either is recorded. Here a token was meant to be used once, but sending requests fast enough let it be reused. The write-up is mostly about mindset and gives few technical details.

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.