Race Conditions
Race conditions stem from simple programming mistakes developers often make. A race condition happens when two sections of code that are designed to be eecuted in a sequence get executed out of sequence.
Hunt for Race Conditions
- Spot the features prone to race conditions in the target application and copy the corresponding requests.
- Send multiple of these critical requests to the server simultaneously. You should craft requests that should be allowed once but not allowed multiple times.
- Check the results to see if your attack has succeeded. Any try to execute the attack multiple times to maximize the chance of success.
- Consider the impact of the race condition you just found.