Advertisement
Promo

Security threats Toolkit

Gmail cookie vulnerability exposes user's privacy

Liam Tung ZDNet Australia

Published: 27 Sep 2007 08:12 BST

  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

Petko Petkov of ethical hacking group GNUCitizen has developed a proof-of-concept program to steal contacts and incoming emails from Google Gmail users.

"This can be used to forward all your incoming email," Pure Hacking security researcher Chris Gatford said. "It's just a proof of concept at the moment but what they're demonstrating is the potential to use this vulnerability for malicious purposes."

According to Gatford, attackers could compromise a Gmail account — using a cross-site scripting [XSS] vulnerability — if the victim is logged in and clicks on a malicious link. From that moment, the attacker can take over the session cookies for Gmail and subsequently forward all the account's messages to a POP account.

"If someone picks up on this before Google fixes it — or if someone knew of the vulnerability before this guy published it — this could be very damaging to Gmail users," he added.

The problem is potentially compounded by Google's policy of retaining cookies for two years.

"Once you've managed to snarf a cookie you can access [a user's] Gmail account without the password for the next two years," he said.

While the obvious risk is to the home user, many organisations could be exposed since they do not filter employee emails sent from work to personal accounts, he added.

IBRS security analyst James Turner told ZDNet Australia: "People do use private accounts to store work information. I've worked at one organisation where this was implicitly expected, because the mail server at the time was so unreliable. But that scenario is certainly less than optimal.

"In an ideal world, an organisation would be able to draw a line in the sand and say that corporate data does not pass this point. The current reality is that there are Gen-Y workers who are sharing information with each other on multiple alternative communication channels — Gmail and Facebook included."

One workaround is to use Gmail through Firefox and disable Javascript. While this limits user access to many components of popular websites, it will protect against the potential threat.

Sentry Posts Blog

Sentry Posts Blog
Guarding the network

What you need to know — and what you and your peers have to tell us — about security management in our new community group blog

Read more +

The power of cross-site scripting
Developers at many large enterprises are not aware of the power of cross-site scripting, said Pure Hacking's Gatford. "In the last year or so, [XSS vulnerabilities] have been used by attackers to grab cookie values and therefore gain access to normally password-protected sites."

"When you have organisations like Google spending countless man hours reducing security vulnerabilities... you can imagine how bad the actual situation is for other organisations," said Gatford.

Gatford advised organisations to use resources such as OWASP, which offers free tools to help write secure code and allow testing for XSS vulnerabilities.

Google was unavailable to comment at the time of writing.

  • Email
  • Trackback
  • Clip Link
  • Print friendlyPrint with EPSON

Did you find this article useful?
12 out of 13 people found this useful


Full Talkback thread

0 comments

Company/Topic Alerts

Create a new alert from the list below:






Video icon

Video

Sentry Posts Blog

DNA details of innocent will be kept f...

The government has announced that it plans to keep innocent people's DNA details for up to six years. In response to a consultation it launched last December, the government said... More

2 comments

Motorola Droid Drops Today: Happy Droi...

Motorola Droid Drops Today: Happy Droid Day America! Author: Eric Everson, Mobile Security Expert If you’re wondering what all of the buzz is about with words like Droid and Android... More

Post a comment

Mobile Security Profile: BlackBerry St...

Mobile Security Profile: BlackBerry Storm2 Author: Eric Everson BlackBerry handsets are a staple of office culture; from syncing calendars to sharing business-related data,... More

Post a comment


Skip Sub Navigation Links to CNET Brand Links

Help

Become part of the ZDNet community.

Newsletters