X

Gmail exploit may allow attackers to forward e-mail

A security vulnerability in Google's Web mail program may allow an attacker to set up filters on users' e-mail accounts without their knowledge, according to a proof of concept.

Steven Musil Night Editor / News
Steven Musil is the night news editor at CNET News. He's been hooked on tech since learning BASIC in the late '70s. When not cleaning up after his daughter and son, Steven can be found pedaling around the San Francisco Bay Area. Before joining CNET in 2000, Steven spent 10 years at various Bay Area newspapers.
Expertise I have more than 30 years' experience in journalism in the heart of the Silicon Valley.
Steven Musil
2 min read

Updated November 24 at 10:10 a.m. PST: Adds comment from Google representative.

A Gmail security vulnerability may allow an attacker to set up filters on users' e-mail accounts without their knowledge, according to a proof of concept posted Sunday at the blog Geek Condition.

In a post, Geek Condition's "Brandon" writes that the vulnerability has caused some people to lose their domain names registered through GoDaddy.com.

Without posting the full exploit, Brandon explains that it relies on obtaining the variables that represent the username and "at":

When you create a filter in your Gmail account, a request is sent to Google's servers to be processed. The request is made in the form of a url with many variables.

For security reasons, your browser doesn't display all the variables contained within the URL. Using Firefox and a plug-in called Live HTTP Headers, you can see exactly what variables are sent from your browser to Google's servers.

After that, an attacker just needs to identify the variable that is the equivalent of the username.

"Obtaining this variable is tricky but possible," he writes. "I'm not going to tell you how to do it; if you search hard enough online, you'll find out how."

The "at" variable can be obtained by visiting a malicious Web site, writes Brandon, who suggests that Google make the "at" variable expire after every request rather than after every session.

To avoid being a victim of the vulnerability, users should check their filters often, Brandon suggests. Firefox users can download an extension called NoScript that helps prevent these attacks, he said.

Of course, any Web site that uses cookies for authentication requests can be taken advantage of in the same way. To avoid becoming a victim to this type of exploit, Gmail users should log out of their accounts when they are not in use, and--of course--not visit Web sites they don't trust.

A Google representative said the company was trying to contact Brandon for specifics on his proof of concept.

"We're trying to reach the blogger making this claim for more details, but we haven't seen evidence that this would be specific to Gmail," the representative said. "We use standard industry methods for protecting cookies, similar to most Web services using HTTP. In fact, we offer additional protection by offering the option of a secure connection (HTTPS) throughout the session for free."