Flaw in Google's New Desktop Tool [Update: Fixed!]
silassewell writes "A Rice University computer scientist and two of his students have discovered a potentially serious security flaw [Sell your soul to the NYTimes to Read] in the desktop search tool for personal computers that was recently distributed by Google." Update: 12/21 03:15 GMT by T : An anonymous reader writes "It's being reported that the security problem in Google's Desktop Search has been plugged."
A Rice University computer scientist and two of his students have discovered a potentially serious security flaw in the desktop search tool for personal computers that was recently distributed by Google. The glitch, which could permit an attacker to secretly search the contents of a personal computer via the Internet, is what computer scientists call a composition flaw - a security weakness that emerges when separate components interact. "When you put them together, out jumps a security flaw," said Dan Wallach, an assistant professor of computer science at Rice in Houston, who, with two graduate students, Seth Fogarty and Seth Nielson, discovered the flaw last month. "These are subtle problems, and it takes a lot of experience to ferret out this kind of flaw," Professor Wallach said. Google introduced a test version of the desktop search tool on Oct. 14, and it can be downloaded at no cost. The program indexes material on a user's local hard disk and then blends Web search results with local user information like electronic mail, text documents and other files. The flaw would permit a search to reveal only small portions of the files. The way the software tool is designed, a user's queries, but no locally stored information, is distributed via the Internet. But by reading user queries sent to its search service, Google is able to place its AdWords text advertisements next to the search results displayed in a user's browser window. In a statement over the weekend, the company said that it had been notified of the flaw by the computer researchers in late November and had begun distributing a new version of the desktop search engine that repairs the potential security hole. Google's introduction of a desktop search tool has touched off a competition with its closest Web search service competitors, Microsoft and Yahoo. Microsoft made a test version of its desktop search tool available last Monday as part of its MSN toolbar suite, and Yahoo has said that it will begin testing a similar search tool in January. The Rice University researchers said that they had not yet examined Microsoft's desktop search program, but noted that the service did not appear to integrate Web and local search results in the same manner as the Google tool. The researchers said that the Google security weakness lay in the way that Google Desktop was designed to intercept outgoing network connections from the user's computer. The program looks for traffic that appears to be going to Google.com and then inserts results from a user's hard disk for a particular search. They found that it was possible to trick the Google desktop search program into inserting those results into other Web pages where an attacker could read them. An attack would require a user to visit the attacker's Web site first, and any type of Web browser could make a user vulnerable. Google said there was no evidence that any such attacks had occurred. The Rice group was able to create a Java program that makes network connections back to the computer from where it was downloaded and then make it appear as if it were asking for a search at Google.com. That was enough to fool the Google desktop software into providing the user's search information. The program was able to do anything with the results, including transmitting them back to the attacking site. "This began as a student project to study how Google Desktop worked and to see if there were any security flaws," said Professor Wallach. "We started by wondering how Google did the local search integration. Once we figured out how it worked, it wasn't too much extra work to break it." The researchers said that Google had responded quickly to their alert last month and had begun releasing a corrected version of the program on Dec. 10. The Google desktop program includes an update feature that permits the company to automatically install new versions of the program on users' computers without user intervention or knowledge. The Rice researchers said that it was possible for users to tell if their version of the Google program had been patched by examining the "about" page from the Google Desktop icon in the browser task bar. Version numbers above 121,004 indicate a newer edition of the program.
Here's a reg free link for those of us who have already sold our souls for other devious purposes ;)
Here is the no-subscriber link via Google News, for all that self-referential goodness...
At least they don't bury the bad news...
"When you put them together, out jumps a security flaw." What is this, magic?
is reserved for someone to reply to with the article text :)
This seems like it will be the first test for Google and thier ethics.
It shall be interesting to see thier response. I'm sure they will deal with it quickly.
Your website goes here
Google deploys their search tool
All is exploited
Tech, life, family, faith: Give me a visit
http://news.com.com/Google+Weve+fixed+desktop+sear ch+tool+flaw/2100-1002_3-5497885.html?tag=nefd.top
Goto http://www.bugmenot.com OR Download the bugmenot plugin for firefox: http://extensions.roachfiend.com/index.php#bugmeno t
You can all, soon, download M$'s search tool - and we all know this will invade your privacy --- on purpose that is... :D
Programs like these (i.e. Gator password program) are the reason why I am a minimalist. I keep on my computer exactly what I need (pr0n included) and nothing else. Anything that potentially interfaces w/the web is a no-no with me (I use zone alarm, so I can see any program trying to access the net).
I mod down so you can mod up. Your welcome.
BugMeNot
Both IE and Firefox extensions available. This copy/paste might be useful if you formatted it instead of karma whoring for first post points.
Life is the leading cause of death in America.
Come again? From the article, it sounds like the security flaw is completely the fault of Google, and has nothing to do with the platform it was written for.
install the BugMeNot plugin for FireFox.
You have two components, which act as intended. However, the way they are merged into a product (i.e. the glue code) is flawed. If you want to be more technical, it is the kind of flaw you do not find through unit tests, only through system tests. So going from two components with no security flaws, you have a product with a security flaw. The quote is somewhat melodramatic, but accurate.
Kjella
Live today, because you never know what tomorrow brings
Theyve already fixed the flaw and had users download it automatically.
"The glitch, which could permit an attacker to secretly search the contents of a personal computer via the Internet, is what computer scientists call a composition flaw - a security weakness that emerges when separate components interact." I always knew that this is the ultimate purpose of Google Desktop. Unfortunately google's crawler have crawled almost everything on the web, so why stop there?..on to the Desktop!!!
Many will not like this concept, but I am happy to learn, I don't have to uninstall, re-install, and re-index to ensure I have it fixed.
"I'd rather be a lightning rod than a seismometer." -Ken Kesey
Google has already fixed the problem, and if you are using GDS, you should have the updated version since GDS updates automatically without user intervention. If you neeed to check, your version number should be 121,004 (or above). I verified from my firewall that my version was updated yesterday. (Apparently Google has been rolling out the updates since December 10)
"When the only tool you own is a hammer, every problem begins to resemble a nail." - Abraham Maslow (1908-1970)
Actually, just because it was running on Linux doesn't mean that the "attacker" couldn't redirect the results to a page other than Google.
Personally I thought it was a problem with the program itself and not Windows. Then again I read the article so I might be more confused than someone who apparently didn't and is trying to make a lame joke.
Uhh--it's a troll. A good one, at that; notice the subtle use of dollar signs to smear the good reputation of Microsnot, as well as the subtle assignment of blame to WinDOS for the coder's error.
From the researchers themselves, rather than the NYT's garbled take on it.
The article seemed a little vague, but i started investigating this when google desktop first came out.
GDS runs a webserver on your computer which any local application can query, including any java or activex app with outgoing http priviledges.
Google stop this by requiring that some sort of random ID as a key to access the page. This ID is generated as part of the url when you double click on the GDS icon in the taskbar.
It's also embedded into any results page that comes back from google, and you can exploit this by having the java applet first request www.google.com, find the link to GDS, then run a GDS search, then return those results via another web request to a remote host.
But it sounds like it's fixed, so that's good.
Was this flaw enough to gain a passing grade, unlike DJB's students
--Joe
If you have the time, take a look at AppRocket (www.candylabs.com). Allows you to search your computer just like LaunchBar. The GUI is fairly light weight, eventually you'll never use the start menu! There is a review of it at http://beeger.net/archives/000031.html
I haven't tried to use google/yahoo/msn search tools yet, but this seems to do the same without the advertising or privacy issues.
The Emergency Medical Hologram : "Why would anyone want to share their brain?" The Emergency Techie Hologram: "Why would anyone want to share their desktop?" Please, friends don't let friends meld their desktops.
"An attack would require a user to visit the attacker's Web site first, and any type of Web browser could make a user vulnerable."
;-)
It seems like most non-email Internet attacks require you to visit an attacker's website before the payload can be delivered (there are some good articles about this at ISC). I would tend to think that unpatched browsers (<cough>IE<cough>) would still cause more problems that this.
Don't misunderstand me, though; I am not trying to excuse Google from the flaw, but the good news is that it's already fixed, and I'm sure the scum of the Internet are going to focus on these other (exciting, money-making) opportunities.
PS. I know Seth Fogarty, does that give me some sort of karma bonus
...by their implementation of the exploit. Using Java as an exploit-crafting tool is really quite ingenious. Perhaps we'll see more of this in the future: seeing as Java runs in a sandbox, it would be very difficult to put a viral load on a distributed exploit. .....of course, that just means that it makes life safer for the script kiddies....so perhaps this isn't a good idea after all.
In Xanadu did Kubla Khan
A stately pleasure dome decree
Makes you wonder what this could be used for.
It's a dream exploit for finding users with illegal mp3s or video.
Trying to steal confidential information isn't so easy, since you'd have to have a fairly good idea what to search for first.
Not only did you get a -1 redundant, but you also got it on a 1st Post!
This elusive prize is given by sharp moderators who rate your posts on the basis of what future posts might contain!
Do break your paragraphs next time.
If you don't know what AltaVista is (was), get off my lawn.
I think the NY Times article was incorrect regarding which versions are fixed. The research report says 121004 and later are fixed (while NYT says those more recent than 121004 are fixed).
c e.edu/gdesktop-tr-dec04.pdfr acker.com/id?1012624
Read the original research report for a good dissection of Google Desktop Search and how it works.
Here are the URLs for the original summary, the original technical report (PDF), and a SecurityTracker alert:
http://seclab.cs.rice.edu/
http://seclab.cs.ri
http://www.securityt
Stuart
info@securitytracker.com
...Dosn't mess up my "hack".
I hate stupid rules... Rules that make sense I don't mind... But the stupid ones just really bug me!
WTF? Want a cookie there Professor Wallach?
The Rice group was able to create a Java program that makes network connections back to the computer from where it was downloaded and then make it appear as if it were asking for a search at Google.com. That was enough to fool the Google desktop software into providing the user's search information. The program was able to do anything with the results, including transmitting them back to the attacking site.
So let me get this straight, after successfully fooling a user that the site they are seeing is legit when it's actually spoofed, then they can get the results of local search queries, potentially seeing parts of a file. Don't get me wrong, that kind of stinks and all, but if you have already fooled someone into believing the sites they are looking at are legit, why bother with this? Show them a gmail login, or a yahoo mail login, or if you know a bit about them, their internet banking login.
This security flaw doesn't seem like that big of a deal and if anything, it highlights that Google is being proactive about such things; addressing the issue and releasing fixed software in a reasonable amount of time. Kudos.
Perhaps, you guys should try out a free alternative such as DocYouMeant Hound, available at http://myradus.com/.
(Disclaimer: I know the guy who wrote it, but it's a cool program.)
The security flaw in Google DeskTop was revealed to be the underlying operating system. Google has published an advisory recommending its customers patch their Windows operating system by installing Linux.
The only PT Boat Journal on the web: http://www.PT171.org
Admittedly the NYT article is extremely light on details (and those details don't show up until the end of the article), but from what it sounds like, the Google search tool sends a brief chunk of each search result, whether of local or network origin, to Google, so Google can display some ads.
These guys tricked the google search tool into sending that information somewhere else.
So, we have a "composition flaw", between two components; Google's search tool, and... uh... a Java attack script. Hmm...
The "flaw" here is that Google's search tool sends personal information to an external host, plain and simple. If I don't want a third party attacker seeing arbitrary parts of my hard drive's contents, I probably don't want Google seeing them either.
I don't suppose anyone knows what types of vehicles are popular with the students at Rice University?
Either NYT left that out or I missed it, so what is it?
Saying Java is nice because it works on all OS's is like saying that anal sex is nice because it works on all genders.
If you *had* read the article, you would know that this flaw could also exist in Linux. The jist I got involves the client app sending search information back to the google servers, and they reply with the ads that will show up in your browser. It seems to me that this would only be a matter of hijacking that users dns, and pointing the name so a server that is listening on the appropriate port.
If we don't believe in freedom of expression for people we despise, we don't believe in it at all. -Chomsky
"The Google desktop program includes an update feature that permits the company to automatically install new versions of the program on users' computers without user intervention or knowledge.
Many will not like this concept, but I am happy to learn, I don't have to uninstall, re-install, and re-index to ensure I have it fixed."
I much prefer to have a button "Check for updates and install now" or "Download, but don't mess with the setup (i.e. install) until I tell you". But I still don't want to, nor need to uninstall, re-install or reindex! Frankly, I just want a one-click install instead of a zero-click install, which always seems to do something wrong at the wrong time (hello Murphy). Forced auto-updating crap is blocked in my firewall.
Kjella
Live today, because you never know what tomorrow brings
A web page on the attack is http://seclab.cs.rice.edu/ which also links to a technical report.
The way it works is actually pretty simple. What happens normally is that the toolbar watches your outgoing and incoming web connections. When you make a Google query, it detects that and does a local search of its index of your disk. When the results come back from Google, it mixes in the results from the web with the results from your disk. This design is to protect your privacy.
The attack is for a malicious site to download a Java applet to your system. This applet does a Google query (via the malicious site as a proxy, to defeat applet sandboxing), and then reads the results which come back. When the results get back to the applet they have gone through the Google toolbar and gotten the local disk results integrated. The applet then sends the data to the malicious site, and presto, it knows a lot about the contents of your disk.
Then again, I'm sure someone will find an exploit in Calculator or Freecell given time.
--- Ban humanity.
Yeah, that's the ticket...
the preceding comment is my own and in no way reflects the opinion of the Joint Chiefs of Staff
you had me worried for a sec. I thought there might have been a secret button that pops up that says, "find your husband's porn".
from the NYT article:
...The researchers said that Google had responded quickly to their alert last month and had begun releasing a corrected version of the program on Dec. 10....
BTW, CNET reported this last night.
[obligatory jab at microsoft,typical at this point in a comment, is being left as an exercise for the readers....]
SLASHDOT: news for people who can't concentrate on work or have no life at all and got tired of yelling back at the TV.
Check it yourself to be sure you are patched, I am uninstalling and re-installing now to hopefully get the newer version
Stop the press! Bug in beta app! "Oh no!" Waves hands in the air, and runs around in circles. "Who will save us now? Who will save us?!!"
Get your own free personal location tracker
This is not new info... there was an article in PC World about this a while back when it was sent to me. In short the Desktop search indexes all of your files and saves an index of your whole HD in a certain file that's unencrypted and easily accessible [enough].
Debugging? Klingons do not debug. Bugs are good for building character in the user.
I installed this crap.
All the blame belongs to me.
I am a pinhead.
--- Ban humanity.
Google's desktop search is a BETA product. That means that it doesn't works always and that Google doesn't even need to fix it since you shouldn't be using it for serious purposes in first place.
but noted that the service did not appear to integrate Web and local search results in the same manner as the Google tool.
Msn has a web search?
I have a legit copy of Windows XP Professional SP2, and the built in search engine REFUSES to work. I'm a bit of a techie, and I've had several professionals look at it. They're all baffled. Google desktop does what it should, and if you're not doing anything illegal, why would you worry about someone seeing a list of your files? It's all about perspective, and I love the program.
We already have a desktop search tools.
They're called grep and find.
Bruce Schneier has an interesting article about the security aspects of Google desktop search. His take on it is that it reveals underlying security flaws in Windows, so if there's a problem, it's not a problem with Google's utility. Blaming it on Google is like shooting the messenger.
Find free books.
I'm no expert on computer security (and certainly not javascript). Curious how they fixed it, since there doesn't seem to be an easy fix.
This actually has nothing to do with windows in the least. It is a combination of Google's security model and the Java applet security model.
Here is how the attack works.
This is based on Wired's much more clear and coherent description.
Desktop search installs an object that the browser instantiates on Google web pages to render local results along side of google results. No data is sent in this process.
The attack involves the fact that this data is present on the web page itself, and is added to the DOM. An attacker using JavaScript can traverse the DOM and read the exerpts of files shown on the search page.
It cannot follow this to the document itself in the cache, and it can see nothing other than the quoted excerpt.
It's beta software, bound to be problems. This particular problem is because the object isn't "locked to the page."
The vulnerability doesn't effect any other desktop search tool that is currently available, because none of them use an object in the browser to integrate search results with their web page. All the other tools are either search your desktop or search the web, not search both at once.
Using FireFox, without the object, you won't get the integrated search results, so you won't have the problem.
If your code is acting bloated, and is running rather slow, it's likely and predicted that some loops you will unroll.
After reading the article and looking through the CS 527 course web page Wallach teaches, it appears that the vast majority of the work was done independently by the two students as a class project. Yet, in the article, Wallach's tone suggests he played a major role in the discovery.
Is there a way to make GDS purge/rebuild the index?
The most annoying program I ever used was that Google Desktop search. Even after leaving my PC on for a week and Outlook up and running, the damned thing never finished it's "initial search".
and how are things in Canada?
I don't want to minimize the security flaws in Windows -- of which there are way too many. But security has a social component too. Right now, most computer users are to some degree their own system administrator -- and most of them just don't have the skills to do it.
It's perfectly simple to set up a Windows box so that you have to enter an Admin password before you can install anything. But with most users no knowing when they should or should not supply that password, you don't really get any extra security that way.
This nifty little feature
The Google desktop program includes an update feature that permits the company to automatically install new versions of the program on users' computers without user intervention or knowledge.
Promptly got the Google Desktop uninstalled off my machine this past weekend when the checksum on the bianry changed for no apparent reason. I consider activity like this to border on sneaky and I see no way to force the program to prompt for my approval to run an update. I would highly reccoment to the Google folk that this be added as a feature or I will consider another desktop search program that treats me like I know whats going on.
IOW, the Schneier article is about something completely different (browser caches are there wether they're being searched or not).
People are using it on a large scale and a flaw is a flaw regardless of whether it is beta or not.
did you forget to take your meds?
[Sell your soul to the NYTimes to Read]
Are you people so retarded that you can't just put in completely false data? I'm a 93 year old Afghani woman making over 100k/yr and I read the Times daily. You don't even have to create a Yahoo mail drop to get a farking authorization! Suck it up, wuss.
You're right. I already hear too much, " but it worked fine yesterday and I haven't done anything to my computer." I don't need updates happening behind my back to make things even worse.
It's basically just a man-in-the-middle attack, where a site that isn't google poses as google and then takes the information intended for google?
Well, um, that's a pretty well-solved problem, isn't it? Just have the google search agent thingy use SSL, and refuse to let it incorporate local data unless the SSL cert checks out as Google's. Problem solved? Or am I missing something?
Irritable, left-wing and possibly humorous bumper stickers and t-shirts
I think it's common sense that if you install a third party tool to index your hard drive, especially one with internet access, you're setting yourself up for disaster. I love Google as much as the next guy, but having a tool that handily stores all of that information is a blatant security risk. Sure MS search is slow (for my Windows boxes), and I'm not even sure if GDS even was released for linux (updatedb | locate something | grep something-more-specific)... but if you're going to index your hard drive, you're taking a risk. I don't see why this would surpise anyone all that much.
- dshaw
You know, she's probably already found it.
I know a few people who think their porn is hidden on their computer, but those who live with them say otherwise.
Just think of all of the recent file lists and last used directories in your media players or image viewers, system logs with errors for codecs and paths to the problem files, browser history autocomplete and cookie names, disks with "missing" space or restricted directories, and the good old file search for mpg, avi, wmv, etc.
You're probably not the only computer-savvy person she knows (if she's not one herself), so just assume she's already seen your stash.
I agree - this is definitely one of those utilities that I don't NEEEEEEEED, and am happy to wait a couple of versions before jumping in.
that a little Pi symbol would appear on the screen and allow me to bypass all security on all sites everywhere.
http://seclab.cs.rice.edu/gdesktop-tr-dec04.pdf Quote 1 java applet attacks because the google desktop application bases its decision to integrate strictly on network traffic, all that is required for an eavesdropper to obtain an integrated web page is to open a socket on the target computer and send an http request to go Quote 2 the google desktop's local search integration cannot distinguish this connection from the java applet with a legitimate connection from a web browser, and will thus integrate the search results where they can be read by the applet
http://www.nytimes.com/2004/12/20/technology/20fla w.html?ex=1261198800&en=1516efbda44c949e&ei=5090&p artner=rssuserland
/. account, so if i borrowed a users name... sorry...
Watch out for wrapping and a potential white space in the link above.
Love,
Karma Slut
PS: I dont have a
Yes, but you're in some sort of IT field. Most users, given the option of downloading and installing security patches, will not. That's why MS has been in so much trouble about not having that on by default, and why they turned it on in XP SP2.
Can anyone see the draw of a tool like this in the first place? If so then please tell me. I know it's off topic, and besides a tool that index's you HD and also allows you to search the net..... that was asking for issues
Excuse me for saying something a little negative about the sacred Google. I love Google's search engine, but I decided to wait on this little feature. Some mods need to get a clue.
And yet it at least attempts to pop up a "Security Center has updated your system" or "Downloaded Updates are Ready for Installation". It doesn't hurt to ask the user something, people are getting better all the time... I even talk to some computer literate people nowadays... And it usually only takes one time of wiping a computer and losing all your data (or paying $200 bucks to the "local computer store") to get a little more cautious...
..in Soviet Russia, web searches YOU! Oh, umm...
perl -e 'foreach(values %SIG){$_="IGNORE";}while(){}'
"What? No, I didn't click on that - you tell me never to install things when I don't know what they are. Did it say Security Center? I don't know - I didn't read it. I don't have time for that, and I'm on deadline. Now, fix my computer."
(or)
"You told me last time to click to install any security updates! What do you mean, the 'Gator Buddy Security Update' wasn't an important update? Make up your mind! I don't have time to investigate all these things, that's your job. I'm on deadline anyway. Now, fix my computer."
I much prefer the way Apple does it, with the Software Update application being a highly obvious and entirely different looking window from the usual 'click to download' windows. Plus, the fact that you have to put in your Administrator password, and click on a license agreement with Apple's name prominently displayed tends to help.
-T
ogm liek googel is teh suck
Here's Rice's security lab post about the flaw: clicky
Kazaa could use google desktop to inspect the system to find sharable stuff without having to do a painfully slow system scan. In fact it could even relay incoming searches directly to GDS to maximize the number of hits.
This is how most kiddy porn busts happen. The first thing we did at the place I worked was a search for *.jpg, we never ceased to be amazed at the stuff that turned up.
It amazes me how much information people are willing to give out for free in exchange of a little convenience.
The guy still needs to find 9 more exploits to even pass the class.
Is how can they patch twice a day with a versioning system like that ? One does have to plan ahead and allow for extreme cases :)
3.243F6A8885A308D313
Read Schneier again. That other individual's files turn up in searches is the result of all users having administrator privleges by default in XP home edition. That XP HE does this is poor policy. Also, browsers should not cache pages sent via SSL, because they are likely to contain sensative information such as credit card numbers. Trivial to add that design to a browser.
Even if Google tries to improve their product, the data remains for less scrupulous programmers to harvest.
As for Google knowing what I search for on my hard drive, well, that isn't nearly interesting as what I search for on Google, and they allready have that. I would like it if they made clear to users that search data is being shipped out.
Gary Dunn
Open Slate Project
Damn it. Now everyone (who reads several levels down in /. ) knows...
From the article
"Today, the security of the Google Desktop system is resting on JavaScript's "same-origin" policy. If an attacker can somehow violate this policy, far more serious attacks than merely reading local search results will become possible..."
Doesn't the famous Window Injection Vulnerability which affects most browsers violate the "same-origin" policy of javascript?
Why does Slashdot push the NYTimes? And why sell your soul to read an article. I just searched Google News and found many other links to the same story.
OMG!!! G$$GLE has another huge security flaw, yet another reason to use linux!!!
Posting the text of the article is, by definition, redundant - to the article, if not to even nonexistent "prior posts". The -1 score might just balance the whored karma, in the bizarre Slashdot sense of equilibrium, a cosmos tipping forever between Insightful Trolls, and Informative Flamebaits.
--
make install -not war