Race Conditions
Concepts
Time-of-Check to Time-of-Use (TOCTOU)
Normal flow:
1. Check: Is user balance >= $100?
2. Use: Deduct $100 from balance
Attack:
1. Send 10 parallel requests to buy $100 item
2. All checks happen before any deductions
3. All 10 purchases succeed with only $100 balanceCommon Vulnerable Operations
Operation
Attack Goal
Testing Tools
Turbo Intruder (Burp Suite)
race-the-web
Custom Python Script
curl Parallel Requests
Attack Scenarios
Coupon/Discount Code Abuse
Money Transfer Double-Spend
Rate Limit Bypass
File Upload Race
Inventory/Stock Manipulation
OAuth State Race
Detection Indicators
Advanced Techniques
Single Packet Attack
Last-Byte Synchronization
HTTP/2 Multiplexing
Tools & Resources
Related Topics
Last updated
Was this helpful?