Skip to content
Account takeover Disclosed report Beginner

Privecy Issue : view "Protected users" followers and following

A protected Twitter account's follower and following lists could be retrieved by requesting a specific endpoint URL, which returned the data as a downloadable JSON file. An attacker could therefore see who a protected user follows and who follows them, despite the privacy setting.

kaito Follow

Originally disclosed on HackerOne

  • Disclosed after 32 days

Hi When Twitter user account change his privacy settings =>https://twitter.com/settings/security and enable "Protect my Tweets " others users "Not in the Follow list" should Not be able to see the user's follower an following list but I just found out away to see any Protected users" follower an following only by visiting a link

in this case here #53128 "which I still think you should fix it" you gave me this account https://twitter.com/shpendktester1 and told me to view his Favorites it's a protected account users shouldn't be able to view his followers list or the following list so as the attacker I can view his following using this link

https://twitter.com/shpendktester1/following/users?cursor_index=&cursor_offset=&include_available_features=1&include_entities=1&is_forward=true

notice that account user name in the link when you visit the link a file named json.json well be downloaded view the file and ctrl+f lookup for "data-screen-name" so this user following these two accounts @shpendktester @NicoleScherzy

to view his followers edit the link to :

https://twitter.com/shpendktester1/followers/users?cursor_index=&cursor_offset=&include_available_features=1&include_entities=1&is_forward=true

when you visit the link a file named json.json well be downloaded view the file and ctrl+f lookup for "data-screen-name" so this user followers these three accounts @shpendk @shpendktester @lovely_loucks

thanks ,,

The original report as published on HackerOne, by kaito. 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 follower/following endpoint did not check whether the requesting viewer was allowed to see a protected account's lists, returning the data regardless of the privacy setting.

Impact

Anyone could view the follower and following lists of protected accounts, exposing relationships the account owner expected to keep private.

What the attacker needed

A protected target account; no follow relationship needed

How it was found

  1. Find a protected account whose lists should be hidden.
  2. Open the account's following endpoint URL with the extra query parameters.
  3. Download the returned JSON file and search it for the screen-name field to read the followed accounts.
  4. Change the path from following to followers and repeat to read the follower accounts.

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 protect your tweets on Twitter, only approved followers should see your activity, including who you follow and who follows you. The researcher found that a particular web address still handed back that list as a file anyone could download. So the privacy switch did not actually hide the lists.

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 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.