Race condition — can cause a flood of forgotten password verification SMS requests
The forgotten password feature allowed sending SMS verification codes without a rate limit, so an attacker could send many requests simultaneously and flood a victim's phone with codes. This could cause financial loss for the company and degrade website performance.
Published on medium.com
Hello hunter, I’m Viperblitzz. Today, I will share my findings about Race condition vulnerabilities and give a brief overview of the features that are subject to race condition vulnerabilities.
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 server lacked proper rate limiting or synchronisation on the SMS sending endpoint, allowing multiple simultaneous requests to bypass any intended limit.
Impact
Attackers could spam forgotten password verification codes via SMS, causing financial loss for the company and potentially degrading website performance due to increased CPU and memory usage.
What the attacker needed
A registered phone number; ability to capture and replay requests
How it was found
- Create an account on the target website and log out.
- On the login page, use the forgotten password feature and enter the registered phone number to receive a verification code via SMS.
- Capture the request and send it to the repeater.
- Duplicate the request many times and send all copies simultaneously using the parallel send feature.
- Observe that many OTP SMS messages are sent to the phone number.
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 happens when a website handles many requests at the same moment and its safety checks fail. Here, the site did not limit how many password reset text messages could be sent, so someone could trigger a flood of messages. This wastes the company's money and can slow down the site.
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.