Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Zero Day Hole In Google Desktop

Posted by Zonk on Fri Jun 01, 2007 04:47 PM
from the please-stop-the-internet-from-leaking dept.
40by40 writes "A Web application security specialist has figured out a way to launch man-in-the-middle attacks against a computer with a fully patched Google Desktop installed. With knowledge of the Google Desktop security model (a combination of one-time tokens, iFrames and JavaScript), hacker Robert Hansen figured out a way to sit between a target launching a Google search query and manipulate the search results to take control of other programs on the desktop. From the article: 'This should drive home the point that deep integration between the desktop and the web is not a good idea, without tremendous thought put into the security model. As Google's site is unencrypted, and they place their content that can run executables on their site, it can be subverted by an attacker," Hansen warns. Hansen's advisory comes just days after a Chris Soghoian's exposé of a similar man-in-the-middle attack scenario against a remote vulnerability in the upgrade mechanism used by a number of commercial Firefox extensions.'"

Related Stories

[+] Hijacking Firefox Via Insecure Add-Ons 87 comments
An anonymous reader writes "Many makers of extensions or add-ons for Firefox are introducing ways for bad guys to hijack the Web browser, new research suggests. A great many add-ons are updated over insecure (non https://) connections, providing an avenue for attackers to replace the extension with an evil update. Google's add-ons are particularly vulnerable, because they update automatically without notifying the user. From the story: '[I]f an attacker were to hijack a public Wi-Fi hot spot at a coffeehouse or bookstore — a fairly trivial attack given the myriad free, point-and-click hacking tools available today — he could also intercept this update process and replace a Firefox add-on with a malicious one.'" Here is security researcher Chris Soghoian's description of the vulnerability and a video of a simulated takeover.
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • Google operating system? (Score:2, Interesting)

    by Oldsmobile (930596) on Friday June 01, @04:50PM (#19358261)
    (Last Journal: Friday June 01, @05:25PM)
    Google should stop screwing around and just bite the bullet: develop your own operating system based on Linux and get it over with. Windows Vista is down, kick them in the nuts when you can!
    • Re:Google operating system? (Score:4, Funny)

      by ajanp (1083247) on Friday June 01, @04:55PM (#19358313)
      I can see it now... A future where mankind lives in a free and secure society where we all live together in bliss running our favorite open-source customized version of the iGOOGLE operating system that checks our mail, orders our groceries, and feeds the cat without any human interaction.
      [ Parent ]
    • develop your own operating system based on Linux and get it over with.

      No offense to Linux, but I think that would offend Google's sense of style. Unix-style OSes are great when you need low-level access to the hardware (e.g. GoogleFS), but don't infer any sort of inherent advantage in the desktop arena. In fact, the classic Unix design is very desktop unfriendly, which is why all kinds of user-friendly packages like automounter have been created.

      Given the number of Ph.D. brainiacs Google has their hands on, I would expect them to create a new OS from the ground up that is more focused on the issues of dealing with the web and network in general. e.g. If it can be coded to avoid buffer overflow situations, that would be a great start. Greater focus on caching services and integrated URL handling might also be things you would see more of. Unicode everything rather than dealing with different text formats. (Incoming formats would need to be converted before they could be used.) Overall minimalist design. i.e. Don't include anything that isn't absolutely necessary to getting the job done. (Compare: The number of features on Google homepage to the number of features on the average Linux desktop.)

      I will happily eat crow if Google ever produces a Linux desktop, but gut instinct says that they won't. So don't get your hopes up.
      [ Parent ]
      • Re:Google operating system? by aichpvee (Score:1) Friday June 01, @05:31PM
      • Re:Google operating system? by Colin Smith (Score:2) Friday June 01, @05:31PM
      • Re:Google operating system? (Score:4, Interesting)

        by poopdeville (841677) on Friday June 01, @05:35PM (#19358731)
        In fact, the classic Unix design is very desktop unfriendly, which is why all kinds of user-friendly packages like automounter have been created.

        Your point is pretty vacuous. The user-friendly packages already exist, and as OS X and Ubuntu (as a Linux example) show, can be used to great effect.

        But you're right. Google won't produce a Linux desktop. They'll probably use a BSD variant, should they ever produce a desktop at all.
        [ Parent ]
        • 1 reply beneath your current threshold.
      • Plan 9? by Anonymous Coward (Score:1) Friday June 01, @05:35PM
      • Hrm... you seem unaware that the very desktop (and mobile) friendly Macintosh and the coming generation of iPhones, iPods, and probably other digital appliances from Apple are based on a real UNIX underneath? The UNIX foundation of the system design is partly responsible for the rapid pace of evolution of Mac OS X [apple.com].

        Although extreme hubris might combine with extreme resources (both dollars and talent) at Google to lead to the creation of an entirely new OS from the ground up, there may not be any need for that. The UNIX wheel is relatively round these days, particularly considering the Mac OS X / OSX example. Better yet, UNIX is nicely modular. If anyone devises a clever way to "avoid buffer overflow situations" it seems likely, on the basis of past evidence concerning technology development and adoption within UNIX systems in general, that it would be easier to integrate that language and compiler, or whatever technology it happens to be, into a UNIX operating system than it would be to create a fully capable system on top of it from whole cloth.

        Since you seem genuinely interested in the topic, here are some reasonable books on operating system design which you might enjoy.

        The Design and Implementation of the 4.4 BSD Operating System [amazon.com]
        Design of the UNIX Operating System [amazon.com]
        Operating System Design: The Xinu Approach [amazon.com]
        UNIX Internals: The New Frontiers [amazon.com]
        Mac OS X Internals: A Systems Approach [amazon.com]
        Solaris Internals [amazon.com]


        The other issues you raise are largely issues of interface design, which the open source community seems to do rather poorly, or at least not as well as it does other things. Google certainly does not need to re-invent the entire operating system wheel to improve URL integration, or provide a "minimalist" desktop interface, for example. They don't even need to strip features, really. Mac OS X, for example, provides enough of a minimalist default interface that novice computer users are comfortable with it. A Linux based OS from Google could take a similar approach, perhaps being even more spartan in the basic features, if that's really a desirable goal (which is another question entirely).
        [ Parent ]
      • gears.google.com by SashaMan (Score:1) Friday June 01, @06:38PM
      • Re:Google operating system? by a.d.trick (Score:2) Friday June 01, @08:52PM
      • Google operating system? WHY??? (Score:4, Insightful)

        by gnuman99 (746007) on Friday June 01, @11:43PM (#19360967)
        Why on this Earth would Google want an OS?? They already have it - it is called "The Browser". That's what they use to make money. They may want to extend its usage, but I doubt that Google will ever want to deal with the "desktop" in the same way as Microsoft, Apple or Linux community.

        Google is about control. They want to control your information for their own profit. They show it again and again. That's how they make money. The more targeted the ads, the more money they can make. The only competitor I think they may have here is Amazon, but that only deals with your book preferences. Google wants your wants so they can sell something from one of their customers.

        Thus it is NOT in the interest of Google to make a desktop. They are not in the business of making software like MS or Apple or GNU or even IBM. They are in business to manage information about you and me. Their "free" solutions are just there so you can give them more info about yourself.

        Hope that is clear enough.
        [ Parent ]
      • Re:Google operating system? by tokul (Score:1) Saturday June 02, @06:45AM
      • 2 replies beneath your current threshold.
    • Re:Google operating system? (Score:4, Funny)

      by Anonymous Coward on Friday June 01, @05:01PM (#19358387)
      GoOSE:
      GOoogle Operating System Environment

      Gotta teach those penguins a lesson sometime...
      [ Parent ]
    • Re:Google operating system? by creativeHavoc (Score:1) Friday June 01, @05:02PM
    • Re:Google operating system? by Hucko (Score:2) Friday June 01, @09:43PM
    • Re:Google operating system? by fatalfury (Score:1) Saturday June 02, @01:49PM
    • Re:Google operating system? by socz (Score:1) Saturday June 02, @03:09PM
    • 1 reply beneath your current threshold.
  • This should drive home the point that connections should flow over encrypted tunnels whenever possible, to reduce the ease of performing man in the middle attacks. If this session flowed over an SSL style connection, the man in the middle would first need to figure out how to get into that session. That strategy seriously reduces the places where malicious code can exist "in the middle". Don't throw the baby (rich client interaction with services in the cloud) out with the bathwater.
  • by Animats (122034) on Friday June 01, @05:00PM (#19358365)
    (http://www.animats.com)

    By now, everybody developing browser components should know that you do not provide functions which can execute arbitrary programs.

    Usually, it's Microsoft doing this, with Outlook, IE, Office, etc. launching other applications. This is the source of most of the vulnerabilities involving web browsing. Now we have Google competing to offer similar security holes.

    • by EraserMouseMan (847479) on Friday June 01, @06:22PM (#19359189)
      We'd better get used to Google becoming the butt of jokes usually aimed at ActiveX. Google Gears, Google Desktop, Google whatever. We now reaize that the developers that develop these technologies simply get traded between the big 3 (Google, MS, Yahoo) and others.

      Are we all finally realizing that Google writes insecure apps just like ever other software development company that is made up of humans?
      [ Parent ]
    • Re:Google imitating Microsoft security holes. by slashthedot (Score:1) Friday June 01, @06:34PM
    • you do not provide functions which can execute arbitrary programs.... This is the source of most of the vulnerabilities involving web browsing. Now we have Google competing to offer similar security holes.

      Firefox offers the exact same mechanism. Firefox extensions can contain (and run) executable code. (See below.)

      As the Greasemokey security vulnerability [oreillynet.com] demonstrated, web pages can "script" Firefox extensions.

      ActiveX = executable code + scripting from the web browser. Firefox extensions introduce the same risks as ActiveX.

      Take for instance FoxyTunes [mozilla.org], which is listed on the Recommended Add-ons [mozilla.org] page. Download the XPI file, rename it to ZIP. Open it in WinZip or whatever. You'll notice several files:

      • FoxyTunes.dll
      • FoxyTunes.dll.linux
      • FoxyTunes.dll.mac
      • FoxyTunesBonobo.so.file

      DLL files are executable code on Windows. I'm assuming the *.linux and *.mac are similar. SO files are executable code under Linux, not sure why it has .file after it. I'm sure there are more extensions with executable code, that was just the first I looked at. Look for any extension that integrates with external software - almost always there will be a DLL or EXE.

      [ Parent ]
      • 1 reply beneath your current threshold.
    • 1 reply beneath your current threshold.
  • Logical (Score:1, Redundant)

    by El Lobo (994537) on Friday June 01, @05:01PM (#19358373)
    Firefox is getting more popular--> the number of attacks is rising

    Google apps are getting more popular--> Ditto

    When the popularity of a software approach a critical mass, the probability of exploits appearing approachs 1.

  • Easily solved (Score:5, Informative)

    by tedhiltonhead (654502) on Friday June 01, @05:05PM (#19358413)
    It sounds like this takes advantage of the "Google Integration" feature, where the Google Desktop software adds a link to your Google search results page. I found his explanation rather unclear, but it sounds like you can avoid this by going into Google Desktop's preferences, then the Display tab, then un-checking the last checkbox, "Show Desktop Search results on Google Web Search result pages".

    I've always thought that was a scary idea anyway, since my desktop content should be in a clearly-partitioned security domain from Web content.
  • A little over blown perhaps? (Score:5, Insightful)

    by 140Mandak262Jamuna (970587) on Friday June 01, @05:06PM (#19358425)
    (Last Journal: Wednesday October 31, @08:33AM)
    Basic premise of the whole scheme sketched out in the article seems to be having a man in the middle. May be an evil twin router offering network connection near a coffee shop or a malicious lap top in an airport faking an "infrastructure mode" SSID in ad-hoc mode or something like that.

    Once you are compromised this way the attack tries to take advantage of cross scripting vulnerabilities in a browser to run code in the compromised machine. I am not sure if there is anything unique to Google Desktop here. Could the same attack take advantage of the numerous ActiveX vulnerabilities?

    Is the "security expert" trying to get more mileage by listing each exploitable hole of a man-in-the-middle attack as a separate discovery?

  • Disable Indexing of Executables? (Score:4, Informative)

    by crymeph0 (682581) on Friday June 01, @05:09PM (#19358463)
    How does one stop Google desktop from indexing executables? When I open the Google Desktop preferences, exe files aren't even listed as something I can index, but search for an executable like hypertrm.exe on Google desktop, and it shows up anyway, which is the 'meat' of this vulnerability.
  • Google size issues (Score:4, Interesting)

    by ushering05401 (1086795) on Friday June 01, @05:10PM (#19358469)
    Anyone want to bet that this is the beginning of a little landslide?

    I wish the Google team all the best in dealing with this issue... but I am scratching my head at the speed with which they are attempting to diversify their offerings.

    Google did not become a dominant force overnight. They fought battles, learned lessons, and refined/defined search capabilities for the entire world. Why have they been shooting off in a dozen different directions? Is there any way that even they can stay on top of all the little details considering the number of immature products they are floating?

    Anyhow, the next couple of days will go a long way towards showing exactly how far the Google team needs to go before I trust them on my desktop. Here's hoping they prove to have the response time/customer centric attitude that made them my preferred search provider.

    Regards.
    • 1 reply beneath your current threshold.
  • Thought is not enough (Score:5, Insightful)

    by The Clockwork Troll (655321) on Friday June 01, @05:14PM (#19358519)

    This should drive home the point that deep integration between the desktop and the web is not a good idea, without tremendous thought put into the security model.

    "Tremendous thought" is a weaker notion than transparency, public scrutiny, or even rigorous proof, which are really what's required.

    Everything else is just hope; hide and seek.

    Hopefully Google can learn and set an example here.

  • installers (Score:5, Insightful)

    by ruffles321 (1023357) on Friday June 01, @05:15PM (#19358537)
    this is even more of a problem since more and more installers like Irfanview's or Adobe's include Google Desktop (and/or toolbar) and there is no way to skip them when doing automated installs... what a sick trend.
  • FUD (Score:1, Troll)

    by umbrellasd (876984) on Friday June 01, @05:26PM (#19358635)

    'This should drive home the point that deep integration between the desktop and the web is not a good idea, without tremendous thought put into the security model. As Google's site is unencrypted, and they place their content that can run executables on their site, it can be subverted by an attacker," Hansen warns.

    This guy is probably funded by M$. I mean, come on. Hello, Mr. FUD. You want to see dangerous deep integration? Internet Explorer. Durr. I have a news flash for this genius. Pretty much nothing is a good idea without giving careful consideration to security. Things like: installing software on your computer (any software), clicking on links in a browser, typing text into your computer, saving files to disk, taking a dump. Yep, pretty much all of them are potentially dangerous.

    Web-desktop integration is already here and it isn't going anywhere. It's a perfectly good idea, not a bad one. And because it's a good idea and because it involves your data, it's also a good idea to address security concerns. That is the fair and unbiased statement.

    • Re:FUD by umbrellasd (Score:2) Friday June 01, @05:35PM
    • FUD FUD FUD by sid0 (Score:2) Friday June 01, @08:16PM
  • Did the industry learn nothing? (Score:4, Insightful)

    by TheNetAvenger (624455) on Friday June 01, @05:28PM (#19358667)
    Did the industry and Google learn nothing from the mistakes Microsoft made?

    Even MS has done a 180 and with Vista broke all the internal/external links that made XP/ActiveX/IE such a mess. So if MS is smart enough to learn from their mistakes you would thing a company like Google would not go out of their way to emulate the same bad security ideas.

    Is it just me, or is Google racing to be the next big evil? Gmail scanning, search data compiling, Firefox reporting, desktop document reporting, and now making really stupid software design decisions?
    • Re:Did the industry learn nothing? (Score:5, Insightful)

      by LO0G (606364) on Friday June 01, @06:11PM (#19359089)
      The problem is that for some people, functionality trumps security every time. It's unfortunate, but true.

      Sometime around 2002ish, Microsoft learned (the hard way) that functionality can NEVER trump security, and they've spent the better part of the past 5 years working on fixing the mistakes they made back in the 1990s (when functionality trumped security). You can see the fruits of that in their most recent offerings (IIS6 has had no exploitable holes in the 4 years it's been available, Vista, for all of its compatibility problems has already been shown to be dramatically better than XP was security-wise).

      Until all the vendors "get it" and realize that security should win, stuff like this is going to continue to happen.
      [ Parent ]
      • 1 reply beneath your current threshold.
  • Hanging your guts out (Score:4, Interesting)

    by Colin Smith (2679) on Friday June 01, @05:35PM (#19358725)
    It's the phrase which springs to mind with "web 2.0" applications. You have an exposed API on both sides, the client and the server.
     
  • business as usual (Score:4, Interesting)

    by siddesu (698447) on Friday June 01, @05:49PM (#19358873)
    (Last Journal: Friday February 02 2007, @12:54AM)
    installing third-party applications that connect to someplace, download something, and do something on on your machine, and being exposed when those applications are shown to have bugs is news how?

    the google engineers aren't magicians. when they develop features, they do so under tight schedule, and make mistakes, especially those hired to code (as opposed to do PR). the only reason there haven't been more problems discovered is likely the fact that they don't distribute much software.

    besides, google's main goal isn't promoting security. their primary goal is to hookup lotsa people -- and in their case, that means to deliver applications with lotsa features quickly, because people are hooked on the features, the competition ain't sleeping, and that first-comer advantage matters.

    does that remind you of another company? it should, because all of them successful companies ain't that much different at all ;)
  • A little more encryption? (Score:3, Informative)

    by isnoop (239143) on Friday June 01, @05:55PM (#19358925)
    (http://isnoop.net/)
    Google is nice enough to offer SSL for most of its services these days. It would make a lot of sense for them to round out their secure offerings with an SSL search as well.

    Right now, any request to an encrypted Google search URL redirects you to www.google.com.
  • Who is this man!? (Score:1)

    by termigan (118387) on Friday June 01, @07:07PM (#19359563)
    Just how prevalent are these men who are in the middle? I've yet to hear about an actual attacker using this strategy. Is that because the middle men are pretty much undetectable and many compromises happen without the user noticing that he didn't do anything 'wrong?' The crackers seem to have an easy enough time phishing their way into your data or doing social engineering to land an executable on your machine. It seems like it's much harder to set yourself up as this man in the middle than it is to find exploits or engineer your way in. No amount of SSL will save users from sending data to the bad guys by impersonation. Once a cracker finds his exploit and has landed code or a file in an arbitrary location on your machine, you're compromised, and the gig is up for the user. Even SSL is vulnerable, since it is so inconvenient, nay, near impossible to run many programs as a limited user under XP. Maybe Vista makes progress, maybe the user clicks so often that he gets duped into nullifying this "security."

    That said, I think a browser actually accessing non-"browser system" files on your disk without a warning of some kind is a bad idea. Clicking on links is exploit sensitive, sure, but why make being a man in the middle more than a data collecting trick?
  • Is it just me (Score:1, Flamebait)

    by Deliveranc3 (629997) on Friday June 01, @08:09PM (#19359965)
    (Last Journal: Sunday November 06 2005, @02:43AM)
    Robert Hansen

    Major U.S. software companies should really consider nuking Scandinavia?
  • Tossing stuff out to users with security holes is something that has earned Microsoft a reputation they'd rather not have. And this kind of bad Microsoft practice is certainly something Google would not want to emulate. So Google had better nip this in the bud quickly, especially as they continue to roll out new products at a rapid pace.
  • Re:pwnt! (Score:3, Funny)

    It doesn't matter. Google desktop does not run on Ubuntu...

    What?
    [ Parent ]
    • Re:pwnt! by 3p1ph4ny (Score:1) Friday June 01, @05:13PM
      • Re:pwnt! by abigor (Score:2) Friday June 01, @06:52PM
        • Re:pwnt! by JFitzsimmons (Score:3) Friday June 01, @11:44PM
  • by iumn (1110395) on Friday June 01, @06:11PM (#19359091)
    I seriously doubt it. Goatse's hole is really big.
    [ Parent ]
  • 5 replies beneath your current threshold.