X

Google fixes 'minor' Gmail flaw

Flaw first flagged by a teenage blogger could allow the execution of script code, possibly resulting in account hijacks.

Joris Evers Staff Writer, CNET News.com
Joris Evers covers security.
Joris Evers
2 min read
Google has fixed a flaw in its Gmail Web based e-mail service after the problem was disclosed by a blogger, the company said Thursday.

The flaw could allow JavaScript code to run when viewing a message in Gmail, potentially allowing malicious code to be used by an attacker to compromise a Gmail account, according to a blogger who calls himself "Anthony."

The blogger, who claims to be a 14-year-old student, found the flaw when sending code from his Yahoo Web mail account to his Gmail account, he wrote on Wednesday. The Web log is hosted by Google's Blogger service.

Google fixed the flaw "very shortly after the initial blog post went up," a representative for the Mountain View, Calif., company said. "We learned of a minor security flaw in Gmail a little while ago and worked quickly to fix the problem, which has now been resolved," the representative said.

Because the vulnerability was fixed quickly, it likely never was exploited in any attacks, the representative said. Still, Google would have preferred to have been alerted to the flaw privately, instead of via a public blog.

"We encourage all vulnerability reporters to follow responsible disclosure practices and notify vendors first before making the vulnerability public," the representative said.

Flaws in online services are found regularly. Last December, Google fixed a security hole in the mechanism it uses to generate error pages for forbidden redirects and pages that don't exist on the Google Web site. The flaw opened the door to phishing scams, account hijacks and other attacks.

Similar flaws have been discovered and fixed in other parts of Google's Web site, as well as in Microsoft's Xbox 360 Web site and Yahoo's Web-based e-mail service.