The “Denial of Wallet” Race Condition: How I Bypassed Transac
A race condition in an identity verification endpoint allowed multiple simultaneous requests to bypass a limit of two attempts, causing the company to pay for up to 15 third-party verification checks. An attacker could drain the company's API budget and also brute-force ID numbers beyond the intended limit.
Published on systemweakness.com
In the modern web, “Identity Verification” (IDV) is big business. When you upload your Driver’s License or Passport to a website, the site doesn’t verify it themselves.
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 application read the attempt count and then wrote the new count in separate steps without locking, so concurrent requests all passed the limit check before any write occurred.
Impact
An attacker could cause the company to pay for many more identity verification checks than intended, potentially draining its budget, and could also bypass the attempt limit to brute-force ID numbers.
What the attacker needed
A free account; ability to submit identity verification requests; tool to send concurrent requests
How it was found
- Fill out the identity verification form with dummy data and intercept the POST request.
- Send the request to Burp Intruder with a null payload and 20 repetitions.
- Set the resource pool to maximum concurrent requests and minimal delay to release all requests simultaneously.
- Start the attack and observe that 15 requests were processed instead of the allowed 2.
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 another request can sneak in between the check and the action. Here, the site checked how many verification attempts a user had made, but if many requests arrived at the same moment, they all saw zero attempts and all went through. This let the attacker make the company pay for many more identity checks than allowed.
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.