Gmail cookie vulnerability exposes user's privacy

By Liam Tung, ZDNet Australia
Thursday, September 27, 2007 08:12 AM

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

"This can be used to forward all your incoming e-mail," Pure Hacking security researcher Chris Gatford told ZDNet Australia. "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 organizations could be exposed since they do not filter employee e-mail messages 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 organization 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 organization 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 Web sites, it will protect against the potential threat.

Developers at Australian government and 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," he said.

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

Gatford advised organizations 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.


WORTHWHILE?

0

0 votes
Blog

Talkback 0 comments

There are currently no comments for this post.


Tech Jobs Now!

Search for your ideal tech job:

Get network versatility with SSH tunneling and netcat

Open Source

Vincent Danen explains how to use netcat with SSH tunneling when you need to create a secure connection to a server from a remote location.


Read more »


 
Virtualize your way to cost savings
Build an infrastructure that is flexible, scalable, and economical, as you strive to become a truly agile business.

Red Hat Outlines Its Virtualization Strategy and Roadmap for 2009
» Watch the video




Where have all the bosses gone?

Blog thumbnail

I've had dreams of opening my own cafe or bistro...cum music store...cum music school. But, I soon gave up that dream when I realized it would require significant investment and..... by Eileen Yu

Read more »

Tags

  1. attack
  2. authentication and encryption
  3. blog
  4. data security
  5. e - mail
  6. hacking
  7. internet
  8. malware
  9. microsoft corp.
  10. network
  11. network security
  12. pc security
  13. researcher
  14. security
  15. security management
  16. software
  17. spam and phishing
  18. symantec corp.
  19. viruses and worms
  20. web