Uncovering a simple signup bug for a three-digit bounty
The signup form's phone number field returned the email address associated with an already-registered phone number in its error response. An attacker could use this to discover email addresses linked to phone numbers, though rate limiting limited the scale.
In this write-up, I’ll walk you through how I discovered a straightforward bug in a signup process that earned me a three-digit bounty.
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 discover the email address associated with a phone number, but rate limiting prevented scaling the attack.
What the attacker needed
Access to the signup form; knowledge of a registered phone number
How it was found
- Test the email registration flow with various bypass techniques.
- Shift focus to the phone number field and enter a random number.
- Observe the error saying the phone number is already registered.
- Use Burp Suite to resubmit the form and inspect the JSON response.
- See the email address tied to the phone number in the response.
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, the site checks if your phone number is already used. Instead of just saying 'already registered', it also sent back the email address that owns that phone number. This lets someone find out which email belongs to a phone number by trying numbers.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.