Privacy Issue on protected tweets
A blocked user could still view a protected tweet by accessing its direct mobile URL while logged in. The privacy setting and block were not enforced on that endpoint.
- Disclosed after 35 days
Hello Twitter Security Team,
###Problem: Here is a privacy issue that break your privacy for protected tweets.
###Details: I have two accounts on twitter @dia2diab and @Dia2diabTest , from the first one i changed the settings of Tweet privacy to be "Protect my Tweets" and now if you access one of my tweets like this one here twitter.com/dia2diab/status/585987812643708928 Or here mobile.twitter.com/dia2diab/status/585987812643708928 from a private window you will find that "@dia2diab's Tweets are protected.". great !!
Now, i don't wanna @Dia2diabTest to see anything from my tweets, so i decided to block him, i think now this user can't see my tweets by anyway [i blocked him & i made my tweets private].
The amazing thing when i access this url mobile.twitter.com/dia2diab/status/585987812643708928 with my logged in session with the second user i found that i can see the tweet.
This is break your privacy rules there support.twitter.com/articles/14016
###Fixing: You must need to protect your users privacy.
@dia2diab
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 mobile tweet status endpoint did not check the viewer's block relationship or the protected status of the tweet before returning it.
Impact
A blocked user could read protected tweets, breaking the expected privacy of the account.
What the attacker needed
Two accounts; one account has protected tweets; the other account is blocked; attacker is logged in
The fix
The mobile tweet endpoint should enforce both the protected status and the block relationship before showing the tweet.
How it was found
- Set the first account's tweets to protected.
- Block the second account from the first account.
- Log in as the second account and open the protected tweet's mobile URL.
- Observe that the tweet is still visible.
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 lets you protect your tweets so only approved followers see them, and blocking someone should stop them seeing your content. Here, a blocked account could still open a direct link to a protected tweet on the mobile site, so the privacy rules were not applied on that page.
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.