Google Apps hit by session-stealing attack

Warning over hosted app security.

A security researcher has uncovered a serious flaw in Google Spreadsheets, which could give an attacker access to all of a user's Google services.

While the bug, a cross-site scripting (XSS) flaw, has now been fixed by Google, it is an indication of the perils that can accompany the growing popularity of Software as a Service (SaaS), according to researcher Billy Rios, who uncovered the problem.

Because of the way Google structures its authentication processes, a single XSS attack can deliver access to all of a user's Google services and documents, Rios said.

"With this single XSS, I can read your Gmail, backdoor your source code (code.google.com), steal all your Google Docs, and basically do whatever I want on Google as if I were you," he said in a blog post.

The exploit relied on the way Internet Explorer determines the content type of server responses, ignoring the content-type header in certain circumstances. Browsers such as Firefox, Opera and Safari can be made to share the same behavior, Rios said.

"Developers need to understand the nuances of how the popular web browsers handle various content-type headers, otherwise they may put their web application at risk of XSS," he wrote.

To carry out the attack, Rios injected HTML into the first cell of a table, along with Javascript designed to display the user's cookie. IE then rendered the content as HTML, allowing the cookie to be viewed.

The attack could be delivered via a link to the specially formed spreadsheet, Rios said.

"To be fair, Google included a subtle defense to protect against content-type sniffing (padding the response), but those protection measures failed (with a little prodding by me)," he wrote.

Rios recently publicized a vulnerability (also now fixed) in Google Code allowing the theft of passwords.

Google Apps began as a set of hosted services, but Google this month has begun rolling out offline access to them, beginning with the word processor, Google Docs.

Over the next three weeks or so, Google will turn on the feature for all word processor users, giving them the ability to view and edit documents offline. During the same time period, Google Docs' spreadsheet will gain offline ability for viewing, but not editing documents.

Google Docs' third component, an application to make slide presentations, will remain for now without offline access. However, Google has plans to extend the offline access to it and to other hosted services in the Google Apps suite, of which Docs is part. Apps also includes Gmail, Calendar, Talk and others.

Join the newsletter!

Or
Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Matthew Broersma

Techworld.com
Show Comments

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Walid Mikhael

Brother QL-820NWB Professional Label Printer

It’s easy to set up, it’s compact and quiet when printing and to top if off, the print quality is excellent. This is hands down the best printer I’ve used for printing labels.

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?