How I Was Able To View Private Tweets Of Any Private Twitter Account
Did you ever tried to set your twitter account as private? Did you ever tried to tweet about your grievance to your boss, office mate, or anyone?
What if, one of them saw your tweets against them? Will you still trust your Social Media Account’s security?
I discovered a bug that will let anyone view other’s private tweets. And it’s easy as 1, 2, 3.
During my bug hunting in Twitter, I saw one of their subdomain “https://ads.twitter.com” and that subdomain is for posting or campaigns ads and etc in Twitter.
Back then, I tested this subdomain before i found this bug(Maybe month of march). So i have an idea what’s the use of this subdomain. Also i found the “HTML Injection and Possible XSS using IE” on it that i didn’t saw it once i am trying it on march and urgently ask filedescriptor for confirmation and reported it to Twitter(Fixed and Rewarded me a bounty).
This is the POC and i just used that payload for demonstration only.
So let’s back to our topic. While i am waiting to reply from filedescriptor for a confirmation about the “HTML Injection and Possible XSS using IE” .
I tried to create a “Ad Groups” just for testing if their’s another XSS on it but i didn’t find any XSS Vulnerability on it.
But wait! I saw something that might be interesting while moving my mouse cursor and accidentally pointed to “Settings Button or what you are going to call it” and it’s showing “New”
Because of that, it makes me feel confused because there’s so many reason the something bothering my mind like “If it’s tested and reported by the others”. Also you know Twitter Acknowledgement or Hall of Fame is in the top of the list of achievements by many bug bounty hunters.
So the final decision is
So i tried to check it and saw the a request
“userId” got my attention and urgently created another account for testing and change the value of parameter “userId”
and the response of the request
As you can see the “@LegacionTesting” and “Cj Legacion Testing” makes me feel and punching the person beside me
Then urgently created a Video POC and reported to Twitter. After their first response. It’s just 13–15 minutes and it’s fixed(That’s was the fastest resolved of my reports)
Are you confused about how i do it? So this is my Video POC for you so you can clearly understand it.
So that’s how easy it is for someone/attacker to view other’s private tweets. Also that’s the reason how i got my first laptop.
This vulnerability might be currently fixed by Twitter, but always remember. Everything is possible. Never underestimate the power of man in finding loopholes to any Security.
Kindly share if you like my first write-up. Also if there’s something wrong about this write-up just comment below. Also follow me on my Twitter Account for more write-up Thanks!
Web Security Researcher,