pentesting, updated
Test for process timing
Check whether a race condition in a multi-step or concurrent process can be exploited by firing requests in parallel.
Goal
Confirm a resource with a limit (balance, stock, single-use coupon) can’t be used twice by exploiting a check-then-act gap.
How to test
Fire the same request many times concurrently and see whether the limit is still enforced:
for i in $(seq 1 20); do
curl -s https://example.com/api/redeem-coupon -d '{"code":"SAVE10"}' &
done
wait
Burp’s Turbo Intruder or Repeater’s “send group in parallel” give more reliable timing for tight races.
What to look for
A single-use resource (coupon, discount, withdrawal) successfully used more than once by racing concurrent requests.
References
- OWASP WSTG-BUSL-04 — Test for Process Timing.