OWASP Hunting

Config & design

Race Conditions

A race condition occurs when the outcome of an operation depends on the timing of concurrent requests. In web applications the common form is limit overrun: a check ("has this coupon been used?") and the update that enforces it ("mark as used") are not atomic, so many parallel requests pass the check before any of them updates the state. Related flaws include time-of-check to time-of-use on files and tokens, multi-step state confusion, and partial construction of objects. See also Business-Logic/workflow-race-payloads.txt.

Payloads are read from main at 35c1f2b (committed 22 Nov 2026). Project version 1.0.2.

These payloads are for authorized testing only: systems you own, authorized bug bounty programs, or controlled lab environments. Unauthorized testing is illegal.

Payload files

Folder on GitHub

Use the arrow keys to move between payloads. Press Enter or C to copy the focused payload.

race-conditions-payloads.txt

56 payloads · 13 KB
Source

Loading payloads for Race Conditions…

Common Attack Vectors#

  • Redeeming a coupon, gift card or single-use token more than once
  • Withdrawing, transferring or spending beyond a balance or limit
  • Voting, liking, rating and invite acceptance beyond the intended count
  • Bypassing rate limits, lockouts and MFA attempt counters
  • Email-change and password-reset confirmation races (a token bound to the wrong account)
  • Registration races that create duplicate accounts or claim the same username
  • Race between an upload and its validation or deletion
  • Session, cart and checkout state changes between price calculation and payment

Testing Approach#

Identify an operation that must happen at most once and has a visible counter or balance. Send a baseline request, then send many identical requests as simultaneously as possible and check the final state, not the individual responses. HTTP/2 single-packet delivery and HTTP/1.1 last-byte synchronisation remove network jitter. Warm up connections first and, where possible, use sessions that are cheap to create. Use test accounts, small values and reversible actions; stop once a duplicate effect is shown.

References#

Responsible Use

All content in this reference is for authorized security testing only. Use only on systems you own or have explicit written permission to test.

  • Systems and applications you own
  • Authorized penetration testing engagements
  • Bug bounty programs with defined scope
  • Educational lab environments (DVWA, WebGoat, HackTheBox)