You are here: silicon.com > Software > Malware

Malware

Gmail cookie flaw 'puts email at risk'

"This can be used to forward all your incoming email... "

Tags: flaw, google, gmail, cookie

By Liam Tung

Published: 27 September 2007 08:42 GMT

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

Pure Hacking security researcher Chris Gatford said: "This can be used to forward all your incoming email. 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.

He added: "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."

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

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

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 said: "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.

Developers at many large enterprises are not aware of the power of cross-site scripting, said 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."

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.

Liam Tung writes for ZDNet Australia

  1. Zones
  2. Management
  3. Networks
  4. Software
  5. IT Services
  6. Hardware
  1. Verticals
  2. Public Sector
  3. Financial Services
  4. Retail & Leisure

Tim Ferguson Exclusive: Former MySQL boss Marten Mickos talks open source Why Microsoft could become one of the "biggest friends of open source" and why Oracle getting its hands on MySQL could be "one of the biggest open source coups ever"...

Naked CIO Naked CIO: Cloud computing more expensive than we thought? Smart IT leaders will examine the impact of how they pay for tech


  • Jobs
C++ Developer Banking (C++/UNIX/Perl/Scripting/FX/Options/C++/Boost)

Derivatives / FX OOD, UNIX scripting, Perl, Multi-threading, Boost library, FX Options experience OTC FX, Commodity, Equity, or Cross-Asset ...

Web Applications Vulnerability Tester

Title: Web Applications Vulnerability Tester / Penetration Tester Salary: market rates but probably 40k to 60k Company: online / ecommerce company ...

Web Tester - Penetration Tester - Staffordshire West Midlands

Candidates must have thorough experience of web application penetration testing which include both knowledge and experience in Man in the Middle ...

Agenda Setters 2009
Welcome to the ninth annual Agenda Setters poll – silicon.com's list of the top 50 most influential individuals in the technology and IT industries, from techies and CIOs to entrepreneurs and business leaders. Find out more in our latest special report.





Quick Sitemap Links: