Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Firefox and IE Still Not Getting Along

Posted by Zonk on Thu Jul 26, 2007 01:33 PM
from the kids-kids-kids dept.
juct writes "Heise describes a new demo showing how Firefox running under Windows XP SP2 can be abused to start applications. For this to work, however, Internet Explorer 7 needs to be installed. This severe security problem promises another round in the 'who-is-to-blame-war' between Mozilla and Microsoft. Mozilla currently is leading the race for a patch, as they have one ready in their bugzilla database. 'The authors of the demo note that there are many further examples of such vulnerabilities via registered URIs. What is so far visible is just "the tip of the iceberg". They state that registered URIs are tantamount to a remote gateway into your computer. To be on the safe side, users should, in the authors' opinion, deregister all unnecessary URIs - without, however, elucidating which are superfluous.'"
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • No problem (Score:5, Funny)

    by Anonymous Coward on Thursday July 26 2007, @01:36PM (#20000371)
    IE is the better browser. Just use that one.
  • by SolusSD (680489) on Thursday July 26 2007, @01:38PM (#20000409) Homepage
    All the intertwined security problems HAVE to be caused by firefox, right? I mean-- Microsoft surely knows how to write applications using their own APIs on the operating system *they* developed.
    • Microsoft surely knows how to write applications using their own APIs on the operating system *they* developed.

      If by "developing" you mean "IT'S ALIVE, IGOR!! IT'S ALIVE!!!", then, yes, I agree with you! :)
      • So it was just following orders you're saying. I'm not sure that defense works.
      • by jez9999 (618189) on Thursday July 26 2007, @01:52PM (#20000629) Homepage Journal
        Browser: "Feed that dog."
        OS: *gets out gun and shoots dog dead*
        Browser: "WTF? What did you do that for?"
        OS: "You told me to."
        Browser: "I told you to feed it!"
        OS: "Yeah, I changed the definition of that yesterday to 'shoot dead'."
      • by brunascle (994197) on Thursday July 26 2007, @01:53PM (#20000655)

        Firefox is the one that told Windows to execute the command
        except, a URI with a scheme of mailto, nntp, news, or snews does not tell Windows to launch a command. it tells windows to open the application that handles that scheme and give the URI to that application. what the application does is up to the application. if calc is loaded, there's either a bug in Windows or the application that handles the scheme.
      • by SolusSD (680489) on Thursday July 26 2007, @01:55PM (#20000679) Homepage
        executing a program is one thing-- allowing the installation and execution of a virus is another.Since most windows users run as admins it is enough just to gain some access to the user's account (maybe through firefox) to install malicious code. Of course, as the article suggests, the "bug" only exists when IE7 is installed.
        also... i'm pretty sure if windows was a person he would punch himself in the genitals if he was asked to.
      • by miffo.swe (547642) <daniel&solle,se> on Thursday July 26 2007, @02:03PM (#20000795) Homepage Journal
        "It is Firefox's fault. They're invoking a Windows API directly without doing any sanity checking on the input." According to your masters its the receiving application that should do the sanity check. There was a rather heated debate on this a while ago when it was IE who forwarded malicious URLS to Firefox. Also, Firefox told IE to open an URL for all it knows, not some random application. The error is in IE7 no matter how you spin it. Dont forget any application besides Firefox can forward this kinds of URLs to IE7. In short any application you use that connects to web pages is a threat to IE7.
          • by mhall119 (1035984) on Thursday July 26 2007, @02:36PM (#20001227) Homepage Journal
            Since the URL's have the same effect if they are launched from the Windows Start menu, and presumably from any application that passes URLs to Window's URL handler, I don't see how this is Firefox's fault. Combine that with the fact that the URL is valid (%00 is valid URL encoding), and the fact that the flaw only exists when IE7 is installed, and you have a very hard time blaming Firefox for this.

            That said, I completely agree with you on the firefoxurl: flaw.
            • Re: (Score:3, Informative)

              Since the URL's have the same effect if they are launched from the Windows Start menu

              Well, what if sending an "format" command to Firefox have the same effect as if it was launched from the Windows Start Menu? The thing is: browsers should NOT allow malicious commands to go past its sandbox. Just "passing" commands to a third party IS insecure behaviour.

              Firefox users should not play the blame shifting game, but think that their loved product is responsible for the concept of "everything I click and do w

              • Re: (Score:3, Insightful)

                Firefox is passing a _VALID_ URL to the Window's URL handler, which is incorrectly parsing the URL. Firefox is not passing commands, Firefox is passing a URL, which Windows then runs as a command, instead of passing it as an argument to the program assigned to handle URLs of that scheme like it is supposed to (and like it does if you have IE 6 installed). This is a Microsoft flaw.
      • by 140Mandak262Jamuna (970587) on Thursday July 26 2007, @02:41PM (#20001285) Journal
        Why should the browser be able to run privileged commands on the OS? Why should it have access to anything other than the cache directory?
          • by 140Mandak262Jamuna (970587) on Thursday July 26 2007, @03:44PM (#20002229) Journal
            download folder could be a sub folder of the cache folder. Without any execute privilege. If you download an executable that you really want to run, you should move it using file manager to another location with execute privilege and then run it. Painful? may be. Inconvenient? Definitely. But safe. Convenience should never trump safety.

            If you leave your door open, the cable guy can come in anytime and fix your cable box. You dont have to house sit over that stupid four hour window. Would you do that? Then why people put up such great resistance to the idea that you must take action, not doable by the browser alone, to download and execute a file from the internet?

  • on my Ubuntu machine or my Mac, you insensitive clod!

    Actually, I don't have it on my XP-Pro SP2 machine I use to run Quickbooks, either.
  • To be on the safe side, users should, in the authors' opinion, deregister all unnecessary URIs - without, however, elucidating which are superfluous.
    What, sort, of, sentence, is, that?!
    • I believe that would be one from the William Shatner school of grammar.
    • I thought that the sentence was generally unnecessary, also. Yes, geeks will understand it, yes slashdot is targetting geeks... but why should we be acting so damn pretencious?
    • I agree. It sounds like the users should be elucidating which URIs are superfluous, whereas it was probably intended that the author be the one doing the elucidating.
    • A perfect demonstration of the incorrect usage of the comma.
      • A perfect demonstration of the incorrect usage of the comma.

        Absolutely, but it, could, be, wor,se.,, I, gues,s,.
    • Worst sentence I've read in a while, and during lunch I had to listen to a friend copyediting some weenie who routinely left out the verbs in his sentences.

      Elucidate and superfluous are dross from a word of the day calendar; the english major equivalent of e-penis. Three seperate comma seperated subclauses in the sentence. Overuse of the passive voice. The use of an uncommon acronym (URI) can perhaps be forgiven since it's Slashdot. Hyphens are hard to use well, and should NOT be used unless you know exactl
        • Actually I was being ironic on purpose. I guess I feel like I have to prove that I'm not against their word choice simply because their bombastic verbiage outstrips my linguistic comprehension, but rather because their grandiloquent ostentation obfuscates their actual meaning. (---E-penis +10 bitches! ;)

          Never understood the obsession with big words. The point is to be understood, right? There are times when it is more elegant to use the word that has the exact nuance of meaning that you're trying to convey, but for the most part it's a lot more effective to use a word that everyone will understand.
          • There are times when it is more elegant to use the word that has the exact nuance of meaning that you're trying to convey, but for the most part it's a lot more effective to use a word that everyone will understand.
            Yeah, because if there's one thing that makes language easier to understand, it's changing your usage of a word depending on to whom you speak. Did it occur to you that the root of the problem is your fix? The only reason these people don't know these words is because other people around them are wrapped up in the fantasy that language is defined by usage, and that therefore it is somehow correct to be incorrect.

            If you'd just speak formally _all_ the time, that'd be one less source of confusion for the unwashed masses. It turns out these things aren't inbuilt; they have to be learned from exposure. By denying exposure in the desperation to be understandable, you rob them of the chance of understanding in the long term.
  • !Root (Score:4, Funny)

    by rustalot42684 (1055008) <rustalot42684.gmail@com> on Thursday July 26 2007, @01:43PM (#20000501)
    Maybe if they weren't running as root *all the time*, they wouldn't have so many problems.
  • The question of who is responsible for this vulnerability is again likely to be the subject of heated debate. In the previous cross browser vulnerability, Internet Explorer was passing crafted URLs to Firefox. In that case, the IE team denied all responsibility, stating that, "It is the responsibility of the receiving (called) application to make sure it can safely process the incoming parameters." If this is the case, then it would be Microsoft rather than Mozilla who find themselves forced to make the nex

  • I tried this on my computer, and the mailto: tag ended up getting redirected to my GMail account. Thanks, Google Toolbar!

    Once again, Google saves the day! Is there nothing that Google can't do? :)
  • Only the one at the very bottom, listed as requiring user interaction, functions in Seamokey and succeeds in launching windows calculator. The mailto: one starts Seamonkey's mail and newsgroups. All the others just bring up an address not found error page.
  • Not just Firefox. (Score:5, Informative)

    by miffo.swe (547642) <daniel&solle,se> on Thursday July 26 2007, @01:55PM (#20000685) Homepage Journal
    Just about any application can forward malicious data to IE7. Microsoft can blame Firefox all they want but the hole will still exist in IE7 after having been patched by the Mozilla org. I repeat, the hole is accessible from any application connecting to the internet, not just firefox. IE6 does not have this security issue so its safe to assume the fault lies with Microsoft. Last time when the roles was the other way around, when Firefox passed malicious things onto IE Microsoft said the receiving application was at fault because it should check if it could handle what it received. Well, this time thats just how it is, IE7 does not check what it receive at all. In short, IE7 is unsafer in this case than IE6 was and the fault does according to previous statements from Microsoft no lie in the sending application (Firefox) but in the receiver (Internet Explorer 7).
    • Re:Not just Firefox. (Score:5, Informative)

      by KiltedKnight (171132) * on Thursday July 26 2007, @02:24PM (#20001051) Homepage Journal
      Based on what is said in TFA, if you pass the specially crafted URI into the Start->Run box, it will produce the same results.

      This indicates that the problem is in Windows' parsing of URIs... as stated in the article. It's the handling of the NULL (%00) byte.

      This has absolutely nothing to do with Firefox, but kudos to the Mozilla developers for trying to block the opening of null-byted URIs.

      • as stated in the article. It's the handling of the NULL (%00) byte.

        At the risk of abusing a double negative, Windows can't even do nothin' right.
        • Re: (Score:3, Interesting)

          I suggest you go back and read the article.

          If you prefer the Readers' Digest version with your helping of crow:

          Installing IE 7 clearly changes the way Windows processes URIs. This is clearly illustrated by what happens if you pass the "bad" link directly to the Windows shell via the "Run" option in the Start menu. With IE6 installed, Outlook Express is launched, with IE7, cmd.exe and the calculator.

          And

          According to the Bugzilla entry [mozilla.org] for this problem, one reason for the new vulnerability is that Windows XP

  • by pla (258480) on Thursday July 26 2007, @02:03PM (#20000787) Journal
    To be on the safe side, users should, in the authors' opinion, deregister all unnecessary URIs - without, however, elucidating which are superfluous.

    I can answer that one for ya - Everything that FireFox doesn't handle internally; So basically, kill everything except "http", "https", and "ftp".

    If you want to send email, open your email program and paste the address in. If you want to read newsgroups, open your newsreader and select the desired group. If you want to use some specialized protocol that requires a dedicated app anyway (like many P2P URIs), open them in the appropriate program.

    Your web browser should not serve as a no-click interface to every network-enabled app on your machine. Period.
  • Kinda cool (Score:5, Insightful)

    by d3ac0n (715594) on Thursday July 26 2007, @02:22PM (#20001015)
    Actually, while incredibly insecure, it is kinda cool to be able to slap in any program path in that malformed string and open any program.

    For example, try this one if you have EVE installed on your PC: (You will have to copy-paste it as the Slashdot filter prevents the links from working.)

    snews:%00%00../../../../../../windows/system32/cmd ".exe../../../../../../../../Program Files/CCP/EVE/eve.exe " - " blah.bat

  • by Torodung (31985) on Thursday July 26 2007, @04:11PM (#20002593) Journal
    Here's a solution. Look at your status bar. If you see some wacko, malformed mailto: address appear when you hover over the link, don't click on it. The damned thing is longer than my arm! If it doesn't say joeuser@domain.foo, don't click. That simple.

    I know no one here is dumb enough to click like a hamster hitting the feeder bar for pellets, so that's basically for rhetorical effect. But I want to know why these Heise security "gurus" are hyping Firefox "flaws" that are barely exploitable (the other day it was about a web domain being able to "steal" passwords for its own domain), and not nearly capable of causing the kind of damage they claim. Where do they get off attributing a Windows Mail exploit to Firefox, and how on earth would a conscious user fall for this? The exploit or the FUD?

    A remote gateway? Baloney. You have to *click* on the mailto: (nntp:, etc.) to get it to even work. And even then, there'd have to be malicious code on your system in the first place to run. Calculator isn't a payload, folks. You need to have a trojan on board, in a default location, and then you need to click on another trojan (the malformed link). If the user is that stupid, they're already botnetted from double-clicking on "b00b13z.avi.wsf". It's FUD, FUD and more FUD.

    A machine is only as secure as it's user is wise.

    Plus, you have to be running IE7, which most Firefox users aren't, unless you got sucker punched into loading Vista.

    And Heise spins this as somehow being Mozilla's problem? You could create the same situation with Lynx for crying out loud! All it takes is a malformed mailto: link. The command line will do it! That means you'd better watch out for malicious BATCH files, folks, because that's all it'll take.

    No one on Slashdot is stupid enough to fall for that right? At least batch files are still "open source."

    And since it doesn't happen with IE6, or if you have any sensible mail programs installed, clearly IE7's suite, Windows Mail in particular, has a flaw. A big juicy exploitable flaw. Else, Lynx has it's first 0-day exploit.

    And you bet it'll slip past the UAC, if that's not a clear warning shot to you Vista boosters. Thank you Mozilla for having the sense to fix this problem even though it isn't your problem. You are proving that FOSS is the easiest code base to secure.

    Boy, this kind of shoddy, FUD-laden, biased coverage really makes me mad. This has nothing to do with Firefox and everything to do with Microsoft not understanding its own code base and OS security structures.

    --
    Toro
    • by jmv (93421) on Friday July 27 2007, @01:38AM (#20006995) Homepage
      Here's a solution. Look at your status bar. If you see some wacko, malformed mailto: address appear when you hover over the link, don't click on it. The damned thing is longer than my arm! If it doesn't say joeuser@domain.foo, don't click. That simple.

      Not that simple. Many browsers allow the remote site to change the string in the status bar by default (that's the first thing I disable). Until browsers show you the real destination by default, you can't expect people to notice the malformed mailto:
  • by Lost Penguin (636359) on Thursday July 26 2007, @04:29PM (#20002859) Homepage
    Set WshShell = WScript.CreateObject("WScript.Shell")
    intReturn = WshShell.Run("del c:\windows\iexplore.exe")
    WshShell.Popup "Windows is now secure."
    • Re: (Score:3, Informative)

      by Anonymous Coward
      Mozilla is leading the race to a patch as they have a PATCH in their bugzilla database.
      • Re:bug database (Score:5, Interesting)

        by Alwin Henseler (640539) on Thursday July 26 2007, @02:34PM (#20001201) Homepage

        Unfortunately it doesn't fix the real problem, only makes FF work around it. Other applications could have the same issue on affected systems. According to TFA:

        (..) one reason for the new vulnerability is that Windows XP interprets the string %00 incorrectly. As a result, instead of the URL protocol handler, the FileType handler is called with the complete URL, via which it is then possible to call further programs with arbitrary arguments.

        If this is true, it is the URL protocol handler that needs a patch (or whatever replaces/modifies its behaviour when IE7 is installed).

        One more reason I prefer Open Source software: If you're a developer and run into a problem like this, then besides work around it in your application, you also have the option to fix the actual problem (in this case, the OS component that handles URL's). Next to impossible on a closed source OS.

    • Re:bug database (Score:5, Informative)

      by PinkPanther (42194) on Thursday July 26 2007, @01:39PM (#20000439)
      No, read the synopsis again:

      Mozilla currently is leading the race for a patch, as they have one ready in their bugzilla database.

      They are leading the race for a patch. They have one (PATCH) ready in their database.


    • Using XP sp2 with seamonkey 1.1.1 and none of the links worked.

    • Microsoft software does not have bugs. They have "undocumented features". It is a feature that Internet Explorer 7 works this way. When properly embraced, it extends the operating system with new features, and extinguishes all problems.

      Be positive about these features!!! :-)

    • Re:well.. (Score:5, Informative)

      by supremebob (574732) <themejunky@geoci t i e s.com> on Thursday July 26 2007, @01:51PM (#20000617) Journal
      If you're a Windows Vista user, you don't really have a choice. It comes pre-installed if you want it or not.
    • Yes. It is nice to be able to keep some tabs open overnight and not have to force quit FF to free up the memory and start a new session. I do not know about you, but a 900MB memory footprint after 2 days seems... well it seems just a tad excessive.
      • Yeah I use FF exclusively and the need to restart the browser daily does get annoying.

        Sometimes it is either a memory hog or somehow gets stuck on 99% CPU usage.
    • by TheNicestGuy (1035854) on Thursday July 26 2007, @04:11PM (#20002595)

      Because technically it's not IE7 that's broken and allowing the exploit. It's Windows' routines that route and execute arbitrary protocol requests. It goes like this:

      User clicks an email link, which starts with "mailto:" instead of "http:".
      Firefox sees "mailto:" and realizes it's not a protocol it's designed to handle.
      Firefox says, "Hey, Windows, I don't know what to do with a mailto: request. You handle it."
      Windows compares the mailto: to its list of registered handlers, decides that Outlook Express is the application the user really wants, and launches it.

      The bug, however, is that corrupting the part after mailto: with null characters causes that last step to malfunction and blithely pass the remainder of the request directly to the Windows shell, not Outlook Express, allowing it to do pretty much anything the user is allowed to. Two things should be clear here. First, that it's not really Firefox's fault. Invalidating or truncating the link if it contains null characters is certainly a good idea, but that doesn't mean that Windows' bug is justified. As has been pointed out, the bug would still be a problem for any other application that passes requests to the protocol handler.

      The second thing is the answer to your question. Notice that Internet Explorer was not involved in this exchange at all. Even if it were registered as one of the protocol handlers it would be irrelevant, as the bug prevents the real handler from ever being launched. The reason IE7 is dragged into this is because something about the protocol handling routines changes when you install it, such that the exploit is not possible before and is possible after.

      So it's a bug in the IE7 installation, not really IE7 itself.