Skip to content
Account takeover Write-up Beginner

Same OTP for Email & Phone? Yep, That’s a Bug!

The signup process sent the same one-time password to both the email address and phone number entered by the user. An attacker could enter their own email and a victim's phone number, then use the OTP received on their own email to complete registration, bypassing verification of the victim's phone number.

strangerwhite Follow

Published on strangerwhite.medium.com

Hey everyone! 🚀 I’m back with another fun discovery in our series on finding bugs without using any tools. This time, I stumbled upon an interesting bug — completely by accident!

StrangeRwhite, on strangerwhite.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

Impact

An attacker could register an account using someone else's phone number without verifying it, potentially impersonating or causing issues for the victim; the text does not describe further consequences.

What the attacker needed

Access to the signup page; an email address or phone number you control; a victim's email or phone number

The fix

The website fixed the issue after being notified by email.

How it was found

  1. Enter your own email address and a victim's phone number in the signup form.
  2. Receive the OTP on your own email (and the victim's phone).
  3. Submit the OTP received on your email to complete registration.

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 sign up, a website often sends a one-time code (OTP) to prove you own your email or phone. Here, the same code was sent to both, so someone could put their own email and someone else's phone number, then use the code from their own email to finish signing up. That means the other person's phone number was never actually verified.

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 strangerwhite

View all

6 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.