Race Condition
The password reset endpoint lacked rate limiting, allowing an attacker to send many reset emails simultaneously by duplicating and parallelising requests. This could flood a victim's inbox with reset emails.
medium.com
Published on medium.com
A race condition happens when a system gets confused because two actions occur at the same time. Hackers exploit this timing to break the system or make it behave in unintended ways.
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 password reset endpoint did not enforce rate limiting or synchronisation, allowing multiple simultaneous requests to each trigger an email.
What the attacker needed
Know victim's email address; ability to intercept and modify requests
How it was found
- Enter the victim's email address in the forgot password form and submit.
- Capture the password reset request and duplicate it many times in Burp Repeater.
- Send all duplicated requests in parallel.
- The victim receives a flood of password reset emails.
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 is when a system gets confused because two actions happen at the same time. Here, the website did not check how many password reset emails were requested at once, so an attacker could send many at the same moment and flood someone's email inbox.
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.