Slashdot Mirror


Mozilla/Firefox Bug Allows Arbitrary Program Execution

treefort writes "An article at eWeek has the lowdown. The article also has a link to the bug report which addressed this issue some time ago. Still, I feel safer using Firefox since malicious persons are much more unlikely to target any vulnerabilites. Note that this only affects users of Mozilla and Firefox on Windows XP or Windows 2000." New releases are already available on mozilla.org that fix this. Update: 07/09 00:41 GMT by CN : I removed the bum link to Bugzilla, since I guess they don't like us. Also I discovered that OSDN's own NewsForge has more on the situation.

12 of 940 comments (clear)

  1. A clear advantage by SIGALRM · · Score: 5, Informative
    The Mozilla Foundation has confirmed the problem and issued a fix
    This incident underscores why many use or have switched to Firefox: vulnerabilities discovered and promptly fixed. Not weeks and months from their publication--and not by another vendor--this exploit was addressed by those who have made available Mozilla's code for public scrutiny.

    FYI, in case you didn't read the article, you can download the fix here.
    --
    Sigs cause cancer.
    1. Re:A clear advantage by Anonymous Coward · · Score: 5, Informative
      This incident underscores why many use or have switched to Firefox: vulnerabilities discovered and promptly fixed. Not weeks and months from their publication

      Yeah, it was years before it was addressed. If you read the Bugzilla report, it was first opened in 2002. This is not a good example of "open software fixes things faster".

    2. Re:A clear advantage by bwy · · Score: 5, Informative

      Very true- no software ever written has been 100% bug free. Mac, Linux, Mozilla etc. simply aren't targets for obvious reasons that are frequently brought up here.

      The difference in large part in my opinon boils down to:

      #1 WHO finds the bug. Is it the developers and community that discovers it in good faith, or is it a hacker and the rest of us find out after a billion dollars has been lost worldwide to the latest worm, virus, etc.

      #2 As you said, how quickly is the problem fixed. Certainly, private companies aren't necessarily horrible at doing this, to spite what people say. I work for a small software company and assure you that any security issues with our product would be corrected promptly. By the same token, some open source projects w/o a steady lead or direction could have exploits that go unfixed for some time.

      However, based on my observations and considering those two points, I'd say I certainly feel better using Firefox than IE.

    3. Re:A clear advantage by SIGALRM · · Score: 5, Informative
      it was years before it was addressed
      Not really. The bug history began immediately afterward and for quite some time it was moved between FIX and WONTFIX but received a lot of attention. Here are some of the comments from the bug report at http://bugzilla.mozilla.org/show_bug.cgi?id=167475 :
      ------- Additional Comment #2 From Jesse Ruderman 2002-09-11 16:58 PDT [reply] -------
      It's not hard for a malicious site to get a visitor to click a link. Requiring
      a click or an equivalent keyboard action can be useful for limiting how much a
      web site can annoy you (pop-up windows, etc.) but I don't think it's useful for
      larger security issues.

      ------- Additional Comment #3 From Daniel Veditz 2002-09-11 17:25 PDT [reply] -------
      I agree, WONTFIX. Other bugs are already discussing blocking external protocol
      handlers, we don't need to do additional work to base the decision on context.

      ------- Additional Comment #5 From Daniel Veditz 2002-09-12 11:35 PDT [reply] -------
      re-opening for reconsideration. This doesn't solve the problem of untrusted
      protocols, but even for trusted ones it doesn't make much sense in these kinds
      of places.
      --
      Sigs cause cancer.
    4. Re:A clear advantage by Anonymous Coward · · Score: 5, Informative

      Valid point. Inspect the XPI before installing it. It's a ZIP file which contains two js files. "install.js" copies "bug250180.js" into the default-prefs folder. "bug250180.js" creates the preference string "network.protocol-handler.external.shell" with the value "false", which disables this particular handler.

      The complete content of these files:

      bug250180.js:
      // block shell: protocol handler (bug250180)
      pref("network.protocol-handler.extern al.shell", false);
      install.js:
      if (SUCCESS == initInstall("Patch for bug 250180","mozilla.org/bug250180","1.0.0.0"))
      {
      &n bsp; var prefDir = getFolder("Program", "defaults/pref");
      var err = addFile( "", "bug250180.js", prefDir, "");

      if (err == SUCCESS)
      performInstall();
      else
      cancelInstall(err);
      }
      ...or something similar to that, which I can't show here because Slashcode fucks it up.
    5. Re:A clear advantage by Anonymous Coward · · Score: 5, Informative

      The bug listed in the summary is about a general issue - no actual exploit was known. When an exploit was made known YESTERDAY, bug 250180 was filed, and fixed within 24hrs.

      Go to the source for better info!!!

      http://www.mozilla.org/security/shell.html

    6. Re:A clear advantage by mldl · · Score: 5, Informative

      Actually http://bugzilla.mozilla.org/show_bug.cgi?id=250180 is the first mention of the shell: bug. Bug 167475 is a catch all deciding whether or not Mozilla/Firefox should hand off unknown protocols. If it used a whitelist of known protocols as some people suggest then it would break a lot of things relied upon over various platforms.

      The specific shell: bug was reported only Wednesday morning which gives us a total time of less than 48 hours.

  2. Microsoft bug which affects Firefox by Anonymous Coward · · Score: 5, Informative

    This is NOT a firefox bug. It is a bug in an external protocol in windows - of which Mozilla calls. The fix is to disable ALL external windows protocols. (bittorrent, mirc, etc)

  3. It's not "in" the browser by Anonymous Coward · · Score: 5, Informative

    Mozilla hands off schemes it doesn't know to the operating system (Windows), and WINDOWS executes the shell scheme. It was obviously a security flaw in their eyes, too, as they fixed it in XP SP2. If you were able to run Windows with real restricted user accounts, this wouldn't really be such a problem.

    1. Re:It's not "in" the browser by Switchback · · Score: 5, Informative

      Agreed. It's not really a bug in the browser, it's a flaw in Windows.

      Windows has a bunch of protocol handlers registered. Mozilla knows how to handle a few (e.g. http, ftp, etc.). Whenever it encounters a protocol it doens't know what to do with, it sees if Windows knows how to handle it. Windows either handles it in some way or it doesn't. If it doesn't, Mozilla puts up a message saying "xyz is not a registered protocol." Mozilla has no way of knowing that anything is bad or dangerous.

      The real bug is in Windows. The only real options the Mozilla developers have is to black/white list known dangerous protocols or simply don't allow protocols Mozilla itself doesn't handle. Neither are optimal. If you can't trust the OS you're on, you really limit yourself, bugs or not.

      So we banish the "shell" protocol today. Who's to say Windows won't have another flaw in another protocol tomorrow?

      This really isn't any different than plugins, which are in a sense, external protocol handlers. i.e. they know how to handle certain content...just like a protocol handler. What if there is an exploit in a plugin? Mozilla just starts the plugin with the listed parameters and lets it go. Are you going to blame Mozilla for allowing the plugin to run, or are you going to require that Mozilla not allow "known, dangerous plugins" to run?

  4. Incorrect bug link by jesser · · Score: 5, Informative

    Eweek and Slashdot linked to bug 167475, implying that Mozilla developers knew about this hole in 2002. Fixing bug 167475 would have done approximately nothing to protect Mozilla users against the shell: hole in Windows, and that is why bug 167475 hasn't been fixed.

    The correct bug number for this hole is bug 250180.

    --
    The shareholder is always right.
  5. Re:Just to be fair... by Kelson · · Score: 5, Informative

    But where is the auto-update feature for Firefox á la Windows XP, OS X, YAST or Up2date?

    Tools -> Options -> Advanced -> Software Update.

    To check manually: Tools -> Extensions -> Update.

    It's not perfect yet, but remember, it's still 0.9.x, not 1.0.

    (Wait, you did want an answer, right?)