Google patches one security hole, but another surfaces

Search engine darling Google has patched a hole in its search engine the could have allowed malicious hackers to modify the content of the Google search results page or silently modify search results, but a new hole may have already appeared.

The vulnerability concerns the Google Custom WebSearch service, which allows third-party Web portals and other Web sites to use Google's servers to search content on their Web site. A flaw in Google's Web servers allowed malicious hackers to insert javascript instead of links to image files, allowing them to alter the appearance of the Google search results page or steal search data. After being alerted to the hole, Google fixed the vulnerability, said Nathan Tyler, a Google spokesman.

"Google was recently alerted to a potential security vulnerability affecting users of our website. We have since fixed this vulnerability, and all current and future Google.com users are protected," Tyler said.

The company is also aware of a second vulnerability, discovered by U.K. security firm Netcraft and will be fixing its systems shortly to remove the vulnerability, he said.

The Custom WebSearch vulnerability was first reported in the online security newsgroup Bugtraq. Google's servers fail to validate URLs (uniform resource locators) for image files to make sure they actually point to images. Malicious hackers could trigger the vulnerability using a Google custom search form, or even through a customized HTML (Hypertext Markup Language) link, by feeding Google's servers computer script instead of an image URL, according to the notice's author, who used the name "Jim Ley."

According to the notice's author, the vulnerability has existed for around two years without being fixed by Google, which was notified twice of the hole. The recent release of a desktop search tool from Google worsened the impact of the flaw, allowing hackers to leverage the Desktop Search feature to search for and steal content, such as passwords or personal financial information, from files on the local hard drive.

A number of major Web sites use the Google Custom WebSearch service, including Netscape Communications, The Washington Post and Virgin.net, according to Google's Web page.

In another example of how the flaw could be used, Ley posted a link on his Web site, http://www.jibbering.com, that replaced Google's main page with a page announcing that Google was becoming a for-fee search service and asking visitors to provide credit card information to sign up for the service.

The Google hole is an example of a common security problem affecting Web sites that dynamically generate Web pages based on input from unknown sources, such as Web surfers, according to a vulnerability note written in 2000 by the Computer Emergency Readiness Team at Carnegie Mellon University in Pittsburgh. (See: http://www.cert.org/advisories/CA-2000-02.html.)

Google developers appear to have missed that four-year-old warning and the company did not respond to repeated e-mails sent to an address for reporting security holes, Ley said.

In patching it, Google developers changed their code to prevent javascript and vbscript, but may have left open other avenues of attack, Ley wrote in an e-mail.

"The problem with this approach is that it relies on them thinking of every possible thing they could exclude...There's so many ways to execute script, attempting to cover all the bases with this approach is risky," he wrote.

However, even as the company patched one hole, security firm Netcraft said it discovered a different vulnerability that could allow attackers to inject malicious content in the Google Web site for online identity theft scams or other purposes.

The new hole is a script injection hole similar to the one reported by Ley and was found in a Google search feature that is accessible by anybody, said Paul Mutton, an Internet services developer at Netcraft.

Like the vulnerability reported in Bugtraq, the new hole also allows malicious hackers to use malicious script to replace the content of the Google search results page and could be used to trick users into trusting the content displayed, Mutton said.

The Bath, U.K., company does not want to discuss specific details about the vulnerability. Mutton notified Google and was informed that the hole will be patched Thursday, he said.

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Paul Roberts

IDG News Service
Show Comments

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Luke Hill

MSI GT75 TITAN

I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Laura Johnston

MSI GS65 Stealth Thin

If you can afford the price tag, it is well worth the money. It out performs any other laptop I have tried for gaming, and the transportable design and incredible display also make it ideal for work.

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?