Ability to perform actions (Tweet, Retweet, DM) and other actions, unauthenticated, on any account with SMS enabled.
Twitter's SMS command feature allowed anyone who knew a target's phone number to perform account actions like tweeting, retweeting, and sending DMs without authentication. An attacker could also disable SMS two-factor authentication and delete tweets.
Originally disclosed on HackerOne
- Triaged in 5 days
- Fixed in 13 days
- Disclosed after 9 months
Summary: By knowing the mobile phone number associated with a Twitter account, or by using random mobile phone numbers! It is possible to perform the following actions against a target without their knowledge or interaction. With no account takeover scenario.
It's a case of, if I know the mobile number... I can control basic functions of the account.
I can do everything that is listed here: https://help.twitter.com/en/using-twitter/sms-commands on an account, completely unauthenticated.
Steps To Reproduce:
(Add details for how we can reproduce the issue)
- Spoof target number, send an SMS to a special short code for the geographical location, as seen here: https://help.twitter.com/en/using-twitter/supported-mobile-carriers
Impact: Massive. I can remove the SMS two factor of the account. I can DM people without them knowing. If I had the mobile number of Donald Trump, I could send Tweets as him... There is so much wrong here.
Supporting Material/References:
- List any additional material (e.g. screenshots, logs, etc.)
https://twitter.com/___Sh4rk___/status/1076204152546619392 this is a tweet I sent from my close friends account. She did not reveal her password or authenticate it at all.
Impact
Remove 2FA
Tweet on someones behalf.
DM Someone.
Delete someones tweets
Turn off all phone SMS notifications
Follow people
Unfollow people.
Block/Report people - with a little script I could get 10000 phone numbers all reporting innocent tweets. Controlling media etc
More stuff really.
Attachments



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 SMS command system authenticated users solely by the sender's phone number, without any additional verification or confirmation.
Impact
An attacker could perform many account actions unauthenticated, including removing SMS two-factor authentication, tweeting, sending DMs, deleting tweets, and following or blocking users.
What the attacker needed
Target has SMS enabled; attacker knows or guesses target's phone number; attacker can spoof SMS sender
How it was found
- Spoof the target's mobile number.
- Send an SMS to the special short code for the geographical location.
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.
Twitter let people control their accounts by sending text messages from their phone. The problem was that Twitter trusted the phone number alone, so anyone who knew or guessed a victim's number could send those same texts and act as them. This meant they could post, message, or even turn off security settings without ever logging in.
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.