Slashdot Mirror


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."

61 of 266 comments (clear)

  1. No Reg Required... by Anonymous Coward · · Score: 5, Informative

    Here's a reg free link for those of us who have already sold our souls for other devious purposes ;)

    1. Re:No Reg Required... by Anonymous Coward · · Score: 3, Funny

      Isn't it aweful when you try to sell your soul, and then Satan gets back to you a little later, talking about a pre-existing lein? The look on His face, the patronizing way He talks down to you... I can't stand it. It's so embarrassing.

  2. Google Link (of course!) by pegr · · Score: 4, Informative

    Here is the no-subscriber link via Google News, for all that self-referential goodness...

    At least they don't bury the bad news...

    1. Re:Google Link (of course!) by FortKnox · · Score: 4, Insightful

      Or, you could simply use Bug Me Not. It even has a firefox plugin.

      The whole Sell your soul to the NYTimes to Read is getting old... actually it was old a year ago, and now its simply ridiculous.

      --
      Good quote, too many chars. Seriously, the slashdot 120 char limit sucks!
    2. Re:Google Link (of course!) by Martin+Blank · · Score: 4, Informative

      NYT (and many others) now scour BugMeNot to kill those accounts that are posted. I suspect they do it by script a couple of times a week, as the logins don't seem to work for me after a day or two.

      --
      You can never go home again... but I guess you can shop there.
    3. Re:Google Link (of course!) by Fallen_Knight · · Score: 2, Informative

      thats why some palces have that "type in the text in the image" stuff

    4. Re:Google Link (of course!) by Eriky · · Score: 2, Interesting

      I don't think they would be so stupid to spend their time this way. I as a webmaster would simply check if there are multiple people loggin in on the same account regulary (or even at the same time) and ban those accounts automatically. If you don't want to register, then don't read it. With all those ad blockers websites have to use these tactics to earn a bit of money.

    5. Re:Google Link (of course!) by danila · · Score: 2, Insightful

      1) NYT doesn't spam you and doesn't sell your address. Confirmed repeatedly.

      2) Most people here should already have a registration with NYT and a cookie, so they don't need to worry. NYT writes enough good stories that it's worth the trouble (which I had in about 1997).

      --
      Future Wiki -- If you don't think about the future, you cannot have one.
  3. what the heck by mako1138 · · Score: 3, Funny

    "When you put them together, out jumps a security flaw." What is this, magic?

    1. Re:what the heck by evilmousse · · Score: 5, Informative


      nooo.. it's a fairly common way to find security holes. you can identify every input and every state a program can enter, test all that to be solid, and it can still yield security flaws when working together with another peice of software. This happens most especially on the web, where multiple technologies plug into each other, and unless the sandboxing is extremely solid, a combination of programs noone considered can easily have dastardly results. i think the usefulness of a desktop search tool to any bug looking for targets to infect is pretty obvious. The settings files for the programs are easily mined for info too, if they're not already stored in that abhorrent windows registry.

    2. Re:what the heck by shotfeel · · Score: 4, Funny

      Its like MS Windows and a PC.

      Windows, just sitting there on the CD isn't a secutity problem.

      The PC, sitting there without an operating system isn't a secutity problem.

      Put the two together -Microsoft magic!

  4. Haiku of the Google Ad by Swamii · · Score: 3, Funny

    Your website goes here
    Google deploys their search tool
    All is exploited

    --
    Tech, life, family, faith: Give me a visit
  5. It's already been fixed by Anonymous Coward · · Score: 5, Informative
    1. Re:It's already been fixed by WIAKywbfatw · · Score: 4, Funny

      So this story is a case of "All your BS are belong to us"?

      --

      "Accept that some days you are the pigeon, and some days you are the statue." - David Brent, Wernham Hogg
  6. don't worry by AviLazar · · Score: 4, Insightful

    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.
    1. Re:don't worry by atlasheavy · · Score: 4, Funny
      The MSN Desktop Search tool is already available, and a hell of a lot better than google's desktop search. You can download it from http://beta.toolbar.msn.com/.


      Your definition of minimalism is probably different than a lot of other people's. Keep that in mind. I can't function unless I have at least a compiler, if not a full-blown IDE on the computer I'm using. Same thing goes for Photoshop and me.


      You may not have either, and may disregard the need for me or anyone else to have these. Just remember, everyone's different. Because you don't find something useful doesn't mean someone else won't.

      --

      iRooster, the Mac OS X a
    2. Re:don't worry by doublem · · Score: 4, Funny

      Kudos to you for admitting your need for p0rn.

      Far too many people let shame take away their abilty to admit they like the stuff.

      --
      "Live Free or Die." Don't like it? Then keep out of the USA
    3. Re:don't worry by Fallen_Knight · · Score: 3, Funny

      Shame!?

      If i start telling people about my multi terabyte porn collection they start asking me to send it to them!!

      wait... umm I don't have any porn.. nothing to see here...

  7. PLEASE! by swordboy · · Score: 2, Insightful

    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.
  8. It is a dumbed-down explaination... by Kjella · · Score: 4, Interesting

    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
    1. Re:It is a dumbed-down explaination... by sfogarty · · Score: 3, Insightful

      Actually, the flaw is that we have one domain: public http pages, mixed with a second domain: private user data. The security model for the first domain generally allows web pages to access their own content. It is assumed that the site the page originated from is supposed to be able to get it's hands on what it sent, including sending it back. Thus when we mix in the second domain: static information from the user's local files that should not be part of active content, a security vulnerabilty is created. This is all said much better in our report, of course... this is me rambling on Slashdot, the other is a thoughtful discussion of the material.

  9. So, do I have the fixed version? by winkydink · · Score: 2, Interesting
    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'd rather be a lightning rod than a seismometer." -Ken Kesey

  10. Fix for the flaw by alphakappa · · Score: 4, Informative

    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)
    1. Re:Fix for the flaw by Otter · · Score: 4, Funny
      ...since GDS updates automatically without user intervention.

      Next Google "scandal": GDS updates automatically without user intervention!!!

    2. Re:Fix for the flaw by jeblucas · · Score: 4, Informative
      your version number should be 121,004 (or above)
      I'm going to go out on a limb and guess that Google's version number there is 121004, not because they want it read as "one hundred twenty-one thousand and four", but rather as "December 10th, 2004". Don't panic if it rolls back to 011605 next month.
      --
      blarg.
    3. Re:Fix for the flaw by imsabbel · · Score: 3, Insightful

      No need for "" around the scandal: Its an app than is supposed to index all private information on a local pc (Email/documents/ect). It has to to be usefull.
      I dont want such a critical program auto-updating without even giving the user a notice that he isnt running the same software version anymore.
      Alone the fact that a new version can be downloaded and automatically executed SCREAMS security issue. One spoof/hack and we have a ton of google desktop zombies waiting for commands....

      --
      HI O WISE PRINCE. WHT TOOK U SO DAM LONG?
    4. Re:Fix for the flaw by alphakappa · · Score: 2, Insightful

      correction again: maybe we should then interpret "or above" as the next date above 12-10-04. I think a versioning system that uses year-month-day would be easier to interpret than the month-day-year being used :-)

      --
      "When the only tool you own is a hammer, every problem begins to resemble a nail." - Abraham Maslow (1908-1970)
    5. Re:Fix for the flaw by pjt33 · · Score: 2, Insightful

      Not to mention that it's a good habit to get into because it can be sorted lexicographically. (Think ls putting your dated backup tarballs in the correct order, for example).

  11. Better link by Anonymous Coward · · Score: 3, Informative

    From the researchers themselves, rather than the NYT's garbled take on it.

  12. How it's probably done by grahamsz · · Score: 4, Interesting

    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.

    1. Re:How it's probably done by sfogarty · · Score: 4, Informative

      Not quite. Again, I recomend checking the webpage , but since I know most of you won't (I wouldn't)... Go install google desktop. Go to google.com. Do a search. Notice it says 'local results found:' and includes small snippets of the local results. We can get those snippets for arbitrary searches by making our own requests to Google. The local data is integrated after the reponse comes back from Google, but before we get it. The only tricky bit is making the requests to google.com through an applet, since the applet is not allowed to connect to google.com, only the originating host. Luckily we can run a web proxy on our originating host and still get the integration results. We don't even have to return the right google.com search result... we can just replay an old page.

    2. Re:How it's probably done by grahamsz · · Score: 2, Informative

      Applets most definitely can ask for permission to access webservers other than the one that is in their immediate sandbox.

      IIRC most jvms assess the risk involved in granting a particular privilege to an applet, and accessing webservers is one of the lower risk permissions - versus socket operations and local filesystem access.

      Most users will click yes to anything but the most dire warnings :)

  13. Did the students pass the class? by jpvlsmv · · Score: 3, Interesting

    Was this flaw enough to gain a passing grade, unlike DJB's students

    --Joe

  14. From the article (I actually read it this time) by 31415926535897 · · Score: 2, Informative

    "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 ;-)

  15. I'm actually somewhat impressed... by KublaiKhan · · Score: 2, Interesting

    ...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
  16. Congratulations! by Tibor+the+Hun · · Score: 5, Funny

    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.
  17. Big Deal by crowemojo · · Score: 3, Insightful

    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.

  18. No, it is a dumb explaination... by Digital_Quartz · · Score: 4, Insightful

    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.

    1. Re:No, it is a dumb explaination... by SiliconEntity · · Score: 5, Informative

      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.

      It does sound like that, but that would be a terrible design, wouldn't it? It would mean your private search data is being sent to Google! And Google swore up and down that they wouldn't do this.

      Actually, your private results are not sent to Google; rather, when the data comes back from Google, the toolbar mixes your private results into the web search results and passes that on to the browser. The problem is that it may not be the user directing the browser to do the request. It could be a Java applet, or maybe (with some help) some Javascript on a malicious web page. Then the nasty code sees the results and it can send them off to where they shouldn't go.

  19. How it works by SiliconEntity · · Score: 4, Informative

    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.

  20. Intruder Alert. Kill the humanoid. by HarveyBirdman · · Score: 4, Funny
    Maybe they need to start making a list of software WITHOUT security flaws. It would save space.

    Then again, I'm sure someone will find an exploit in Calculator or Freecell given time.

    --
    --- Ban humanity.
    1. Re:Intruder Alert. Kill the humanoid. by mzwaterski · · Score: 3, Funny

      I followed your steps, but it didn't work...I got 12

  21. false alarm by kevinx · · Score: 5, Funny

    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".

  22. already fixed! by museumpeace · · Score: 2, Informative

    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.
  23. Stop the press! by caluml · · Score: 3, Funny

    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?!!"

  24. Re:No update here!? by sfogarty · · Score: 3, Informative

    This is unnecessary. You can disable the integration option, which is a minor feature anyway. Check our webpage

  25. Re:I don't know about anyone else by bcrowell · · Score: 2, Interesting

    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.

  26. Re:I don't know about anyone else by sfogarty · · Score: 2, Insightful

    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.

  27. Since I don't see a clear explanation by dbacher · · Score: 3, Informative

    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.
  28. Re:Professor Wallach taking all the credit? by sfogarty · · Score: 4, Informative

    Check out our webpage . The tone of the article is not Dan's doing. He has been more than generous with the credit, and was involved with our project and of invaluable assistance the entire time.

  29. Re:Um what the ??? does one have to do with the ot by shotfeel · · Score: 2, Insightful

    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.

  30. Common Sense by dshaw858 · · Score: 2, Interesting

    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

  31. Too Late by eMartin · · Score: 2, Insightful

    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.

    1. Re:Too Late by eMartin · · Score: 3, Funny

      Which, by the way, reminds me of the time a friend asked me to fix his computer, and while running a virus scan, the progress window soon started running through his porn directories flashing some pretty embarassing filenames.

      And that went on for a good 10 minutes or so.

      All i could say was "Well, we do need to do the virus scan."

  32. technological advantage of the latecomer by bratboy · · Score: 2, Interesting

    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.

  33. Straight from the horse's mouth by prat393 · · Score: 2, Informative

    Here's Rice's security lab post about the flaw: clicky

    1. Re:Straight from the horse's mouth by prat393 · · Score: 2, Informative

      There's a more in-depth technical analysis available for download at the bottom of the page, if you're interested.

  34. Re:Potential Uses by Methuseus · · Score: 2, Insightful

    So the RIAA or whatever would be given a small fine of around $100,000 and would sue the person even though there's no hard evidence. The lawsuit would cost quite a bit of money to the defendant, and, even if the RIAA couldn't win, the defendant wouldn't be able to afford to keep going.

    --
    Two things are infinite: the universe and human stupidity, though I'm not yet sure about the universe. - A Einstein
  35. Even sending out searches is a security hole! by plampione · · Score: 2, Insightful
    Am I the only one that finds it very disturbing the fact that, in order to search your PC, you actually send out the search query? So Google can build for free an incredible amount of statistical knowledge on what users have on their PCs? Just how much is that worth? And, is the information encrypted? For otherwise, it would certainly be of interest to know what e.g. Intel's engineers are searching on their PCs...

    It amazes me how much information people are willing to give out for free in exchange of a little convenience.

  36. Shhhh. by valkraider · · Score: 2, Funny

    Damn it. Now everyone (who reads several levels down in /. ) knows...