Skip to content
Account takeover Disclosed report Beginner

BROKEN AUTHENTICATION IN MOBILE VERIFICATION

An unverified mobile number added to an account was offered for password reset, and the report says Twitter should not associate an unverified number for that purpose.

geekboy Follow

Originally disclosed on HackerOne

  • Disclosed after 44 days

Hey Team this is geekboy :)

this report is about broken authentication in mobile section .

Description : when user want to add any mobile number to his account , he will go mobile section and twitter will ask the user to select the country and enter the mobile number .

so when testing i entered the random mobile number and twitter says that verification code sent to the mobile number , and asking for the verification code >> http://sd.uploads.im/NsmJl.png

i cant provide the code coz i entered the random number .

now i logged out my account and came to forget password page .

the issue is here , twitter asking me to send the verification code on the mobile number which i didn't verified and its not associated with my account . >> http://sd.uploads.im/LRUhA.png

so without verification Twitter should not associate the mobile number with account for the password reset purpose !

Thanks geekboy :)

The original report as published on HackerOne, by geekboy. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application associates a mobile number with an account before verifying ownership, and then uses that unverified number for password reset.

What the attacker needed

A Twitter account; ability to add a mobile number

How it was found

  1. Log in and go to the mobile section to add a phone number.
  2. Enter a random mobile number and submit.
  3. Receive a message that a verification code was sent, but do not enter the code.
  4. Log out and go to the forgot password page.
  5. Observe that the password reset flow offers to send a code to the unverified 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 report has not been written yet. The Original tab links to the source.

When you add a phone number, the service should confirm you own it. Here the number was not verified, yet the password reset page offered to send a code to it.

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 geekboy

View all

11 more disclosed reports, best first.

More from X / xAI

View all

The newest disclosed reports for this program.

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.