Skip to content
Account takeover Write-up Beginner

No rate limit to 2FA bypass

The account security step that verifies a phone number via a one-time code had no limit on how many guesses could be made. An attacker could send many codes in a row and, in principle, guess the correct one to attach a phone number to an account.

bug.hun3r Follow

Published on medium.com

The original lives on medium.com

We do not hold its text, 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 OTP submission endpoint did not limit or lock out repeated failed attempts, so codes could be guessed by brute force.

Impact

The author claims an attacker could bypass 2FA and add a victim's phone number to their own account, though the text only shows that repeated wrong guesses were accepted, not that a correct code was ever found.

What the attacker needed

A free account; ability to intercept requests

How it was found

  1. Sign up and set up an account on the program.
  2. Reach the security step that asks for a phone number.
  3. Request a code and enter a wrong one, then intercept the submit request.
  4. Send the request to the intruder tool and generate many guesses.
  5. Observe that each request returns 200 OK with an incorrect-code message.

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.

When you add a phone number to an account, the site sends a short numeric code (a one-time password, or OTP) that you must type back to prove the number is yours. If the site lets someone try that code over and over with no limit, a person can simply guess until they hit the right one. This report says the site allowed many guesses in a row without blocking them.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More by bug.hun3r

View all

4 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.