Feeds

Google (finally) adds protection for common Web 2.0 attack

Better late than never

Security for virtualized datacentres

Google has beefed up the security of Gmail and its other services by adding a feature to login pages that blocks one of the more common forms of web attacks.

The upgrade is designed to protect against CSRF, or cross-site request forgery, attacks. The technique subverts basic website defenses by exploiting the often-misplaced trust one site has in another. Over the past three years, vulnerabilities in Gmail, YouTube, and other Google properties have put user accounts at risk of being accessed by miscreants who use the method.

Sometime in the last three days, Google's login pages began setting a cookie with a unique token on each user's browser, according to Mike Bailey, a senior researcher for Foreground Security. That same value is also embedded into the login form. If the two don't match, the user will be unable to log in.

"It's one of those things that people have been telling them to fix for a long time and for whatever reason, they haven't done so until just now," Bailey told El Reg. "They finally implemented the protection that pretty much everybody in the industry recommends they use."

A Google spokesman confirmed that the company added CSRF protection to login pages.

"The security of our users' accounts is very important to us, and we're always looking for ways to make improvements," he said.

While Google is good at quickly squashing reported bugs that put accounts in jeopardy, Bailey and other security researchers have often criticized the web giant for not being more proactive. A case in point: In September 2008, Jeremiah Grossman, CTO of WhiteHat Security, demonstrated a way to use CSRF to learn which YouTube videos a user had viewed.

Grossman's proof-of-concept worked by uploading an Adobe Flash video into Gmail and then duping a victim into accessing it. Because such files are automatically granted access to an entire domain, Grossman was then able to access users' login names, email addresses, and viewing history.

While Google security pros fixed that vulnerability and other CSRF holes, the criticism has been that they were essentially treating the symptoms rather than curing the sickness. What's more, Bailey said, the token-cookie protection has been available on other Google forms but was conspicuously absent from its login page. That's similar to installing an alarm sensor on all the windows of a mansion, but not bothering to put one on the front door.

To be sure, Google, with its millions of users, probably wanted to proceed gingerly with the new protection lest it break the the normal sign-in flow for legitimate users. And it's also fair to point out that Bailey said plenty of other large websites, which he declined to name, have yet to adopt the measure.

The important thing is that Google has finally joined the rest of its security-conscious peers by adding an industry standard for preventing one of the most common forms of attacks plaguing Web 2.0 properties.

"It's our best solution so far," he said. "It's not entirely ideal, but it works well." ®

Secure remote control for conventional and virtual desktops

More from The Register

next story
NASTY SSL 3.0 vuln to be revealed soon – sources (Update: It's POODLE)
So nasty no one's even whispering until patch is out
Russian hackers exploit 'Sandworm' bug 'to spy on NATO, EU PCs'
Fix imminent from Microsoft for Vista, Server 2008, other stuff
Forget passwords, let's use SELFIES, says Obama's cyber tsar
Michael Daniel wants to kill passwords dead
FBI boss: We don't want a backdoor, we want the front door to phones
Claims it's what the Founding Fathers would have wanted – catching killers and pedos
Kill off SSL 3.0 NOW: HTTPS savaged by vicious POODLE
Pull it out ASAP, it is SWISS CHEESE
Facebook slurps 'paste sites' for STOLEN passwords, sprinkles on hash and salt
Zuck's ad empire DOESN'T see details in plain text. Phew!
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
Win a year’s supply of chocolate
There is no techie angle to this competition so we're not going to pretend there is, but everyone loves chocolate so who cares.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.