Skip to content
Race condition Write-up Intermediate

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.

viperblitzz Follow

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.

Viperblitzz, on medium.com

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

  1. Create an account on the target website and log out.
  2. On the login page, use the forgotten password feature and enter the registered phone number to receive a verification code via SMS.
  3. Capture the request and send it to the repeater.
  4. Duplicate the request many times and send all copies simultaneously using the parallel send feature.
  5. 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.

More by viperblitzz

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.