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.
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!
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
- Enter your own email address and a victim's phone number in the signup form.
- Receive the OTP on your own email (and the victim's phone).
- 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.