Rajesh Sethumadhavan is on a roll. This time he’s found a number of XSS issues in Google’s Orkut. As we’ve seen in over the last year or so on MySpace the potential for malicious worms is extremely high with social networking sites. Given the fact that Orkut isn’t as open a system as MySpace doesn’t actually change the issue. Probably the only saving grace for most of the people reading this is that Orkut isn’t that popular in the United States anymore. However, it is extremely popular in Brazil and other countries around the world. Here is Rajesh’s vulnerability (modified for formatting, downloaded the images, and brevity, etc…):
Orkut is an Internet social network service run by Google and named after its creator, Orkut Büyükkökten. It claims to be designed to help users meet new friends and maintain existing relationships with pictures and messages, and establish new ones by reaching out to people you’ve never met before.
Orkut service is vulnerable to Cross-Site Scripting and HTML Injection. This is caused due to improper validation of user-supplied inputs.
A remote attacker can craft a GET request with the XSS payload as demonstrated below. When the victim clicks on the GET request the payload will get executed which result in stealing of cookie, IP info, refer info, browser information, clipboard content, operating system info, hardware Info, modification of page or html injection, url redirection, port scanning of the network, and even phishing is possible.
1) Orkut Invite XSS:
The flaws are due to improper sanitization of inputs passed to ‘continue’ parameter in GET request
Note: Demonstration leads to your personal information disclosure
- Login to your orkut account
- Paste the above URL
- Click on BACK button
- Orkut Cookies will get displayed
The similar way HTML injection is also possible.
Orkut can improve their filters by disallowing certain characters like " <>/\?&`~!@#$%^*()|;:"' " in user input URL.
Successful exploitation allows execution of arbitrary script code in a user’s browser session in context of an affected site which result in stealing of cookie, IP info, refer info, browser information, clipboard content, operating system info, Referer info, hardware Info, modification of page or html injection (temporary webpage defacement), modification of page title, hijacking page flow, url redirection, port scanning of the victim’s network, and even phishing is possible. Impact of the vulnerability is network level.
Rajesh also included another XSS that has since been fixed (I removed it simply for brevity). But you get the point. Orkut is vulnerable, and therefor anyone who uses it is also vulnerable to the impacts that Rajesh outlined above. Nice find, Rajesh.