Original URL: http://www.channelregister.co.uk/2007/09/24/google_vulns_put_users_at_risk/
If you use Google to send email, organize photos or help administer your website, doomwatchers have cataloged three new ways to steal your data and compromise the security of your users. All three of the techniques rely on cross site scripting, or XSS, in which hackers inject unauthorized code by making it appear as if it's hosted by a trusted website.
The most serious vulnerability resided in the so-called polls application, a part of Google Groups (http://groups.google.com/). It made it possible to steal contacts and messages from Gmail accounts. A Google spokesman on Monday afternoon said the flaw had been fixed.
Multiple pieces of proof-of-concept code posted online (http://blog.beford.org/?p=3) graphically demonstrated the potential for attacks that target the weakness. One stole all contacts listed in a Gmail account, while a second sent all incoming Gmail messages to an email account of the researcher's choosing.
"If you're good at JavaScript, writing a good exploit for those vulns is [a] trivial matter" Giorgio Maone, a researcher told El Reg. He added that the weaknesses could be exploited "serially," meaning that a single piece of attack code will compromise virtually any Gmail account.
The exploit code worked on at least four browsers, including Internet Explorer, Firefox, Opera and Konqueror, at least when they are using default settings and are not running extensions that block the running of javascript. To be pwned, a victim had to be logged in to Gmail while opening the attack website.
A second vulnerability plagues the Google search appliance, which Google sells so webmasters can do scraping and other types of internal searches. By creating a specially crafted URL, an attacker can inject code or overwrite pages of a third-party site that uses the appliance.
Attack scenarios include the stealing of cookies used to log in to the third-party site or the alternation of a trusted site so it prompts an unsuspecting user for personal information and then transmits it to the attacker.
The disclosure came in a post (http://websecurity.com.ua/1368/) on the Mustlive blog, which included examples of URLs that were said to cause two sites - one run by ICANN (http://gsa.icann.org/search?access=p&client=icann&proxystylesheet=icann%20&output=xml_no_dtd%20&site=icann&q=&proxycustom=%20ADVANCED%2F%3E&ie=%22%20%20script%20alert%20document.cookie%20%20%20script%20%22#9132655000078035202) and the other by The University of York (http://search.york.ac.uk/search?ie=&site=yorkweb&output=xml_no_dtd) to steal a user's cookies. (We plugged both addresses into version 7 of IE and only the latter appeared to work, so it's possible that ICANN has already plugged the hole.)
According to this Google search (http://www.google.com/search?q=inurl%3Axml_no_dtd&gl=us), as many as 200,000 sites were vulnerable to the attack at time of writing.
A third vulnerability could be used to steal photos designated in Google's Picasa picture organizer simply by luring a user to a malicious website. It is a highly complex exploit that marries a variety of techniques, including XSS, cross application request forgery, Flash and URI handler weakness exploitation.
A Google spokesman said the company had recently become aware of the flaw in its search appliance and would offer more details about a fix after a more thorough investigation. Google officials are unaware of the vulnerability being targeted in the wild.
The spokesman also said the company has made it more difficult to exploit the Picasa weakness by educating users about the consequences of installing new buttons to the application. The button, which can now only be installed after clicking OK on a confirmation window, must be installed for the attack to work, he said.
"Google takes security issues very seriously and will respond swiftly to fix verifiable security issues," the spokesman said. "Some of our products are complex and take time to update."
This unholy trinity of serious weaknesses is reminiscent to a week-long stretch in late May and early June in which four Google vulnerabilities were documented (http://www.theregister.com/2007/06/03/google_vulns_stack_up/). Like those discovered this time, most involved XSS errors, which are often the result of trying to make multiple services scattered across a website work seamlessly.
Other sites to be bitten recently by the XSS bug include Yahoo! and TJMaxx.
While Google's security team usually score high marks for policing the site and safeguarding users from scams, the mass of vulnerabilities are a reminder that as code becomes increasingly sophisticated, even the most elite developers make mistakes that can lead to security breaches.
"It's pretty endemic of where the web applications security community is mentally," said Robert Hansen, CEO of secTheory.com, who publishes on the ha.ckers (http://ha.ckers.org/) blog under the moniker of RSnake. "They're looking to make a point, which is the companies that do the most to protect themselves are probably the most vulnerable. Even spending hundreds of millions of dollars on this still has not gotten them to the point where they're secure." ®
Web browsers face crisis of security confidence (23 June 2008)
http://www.channelregister.co.uk/2008/06/23/marginal_browser_security_protections/
Royal Bank of Scotland takes three weeks to squash nasty Worldpay bug (20 May 2008)
http://www.channelregister.co.uk/2008/05/20/rbs_closes_security_hole/
Buggy Flash code continues to plague the web (27 March 2008)
http://www.channelregister.co.uk/2008/03/27/buggy_flash_menace/
Smut peddlers and spammers invade Google Groups (3 March 2008)
http://www.channelregister.co.uk/2008/03/03/google_groups_crud/
Opera screeches at Mozilla over security disclosure (18 February 2008)
http://www.channelregister.co.uk/2008/02/18/opera_moz_security_disclosure_row/
Serious Flash vulns menace at least 10,000 websites (21 December 2007)
http://www.channelregister.co.uk/2007/12/21/flash_vulnerability_menace/
Portuguese-speaking worm attacks Google Orkut users (19 December 2007)
http://www.theregister.co.uk/2007/12/19/worm_hits_orkut/
Google permits Dell to sell Dell servers (28 November 2007)
http://www.channelregister.co.uk/2007/11/28/google_dell_appliance_search/
Firefox broken Jar vuln. menaces Gmail (12 November 2007)
http://www.channelregister.co.uk/2007/11/12/jar_vuln/
Googlewhack trick used to slip junk mail past spam filters (6 November 2007)
http://www.channelregister.co.uk/2007/11/06/googlewhack_spam/
Minor Firefox update addresses stability glitches (2 November 2007)
http://www.channelregister.co.uk/2007/11/02/firefox_update/
Bad hair day for alternative browser users (19 October 2007)
http://www.channelregister.co.uk/2007/10/19/alt_browser_vulns/
Researcher releases unofficial IE fix for URI bug (16 October 2007)
http://www.channelregister.co.uk/2007/10/16/unofficial_uri_windows_fix/
How to expose Gmail contacts without really trying (27 September 2007)
http://www.channelregister.co.uk/2007/09/27/google_bug_onslaught_continues/
Adobe gifts internal file permissions to unwashed masses (27 September 2007)
http://www.channelregister.co.uk/2007/09/27/adobe_website_leak/
New cracks in Google mail (26 September 2007)
http://www.channelregister.co.uk/2007/09/26/gmail_backdoor_vulnerability/
Researcher crosses swords with Google over XSS 'flaw' (21 August 2007)
http://www.channelregister.co.uk/2007/08/21/google_modules_security_debate/
Google's Lemon squeezes out web app bugs (18 July 2007)
http://www.channelregister.co.uk/2007/07/18/google_lemon/
Worms 2.0! (27 June 2007)
http://www.channelregister.co.uk/2007/06/27/wade_alcorn_metasploit_interview/
YouTube 'riddled with 40-plus security vulnerabilities' (20 June 2007)
http://www.theregister.co.uk/2007/06/20/youtube_security_ultimatum/
Yahoo! fixes bug that gave free rein to user accounts (15 June 2007)
http://www.channelregister.co.uk/2007/06/15/yahoo_xss_error/
Google security vulnerabilties stack up (3 June 2007)
http://www.channelregister.co.uk/2007/06/03/google_vulns_stack_up/
IE7 phishing bug nets concern (19 March 2007)
http://www.channelregister.co.uk/2007/03/19/ie7_phishing_bug/
PHP apps: security's low-hanging fruit (11 January 2007)
http://www.channelregister.co.uk/2007/01/11/php_apps_security/
Web vulns top security threat index (18 September 2006)
http://www.channelregister.co.uk/2006/09/18/web_vulnerabilties/
Google blocks Gmail exploit (1 November 2004)
http://www.theregister.co.uk/2004/11/01/gmail_bug_fixed/
© Copyright 2008