Slashdot Mirror


New Mozilla Firefox 1.0.3 Exploit

An anonymous reader writes "News sources are reporting that a 'killer' new Firefox exploit has been revealed today by FrSIRT who warn that this 0day exploit/vulnerability (as yet unpatched) should be rated as critical. Summary of the exploit: If a user clicks anywhere on a specially crafted page, this code will automatically create and execute a malicious batch/exe file. Proof of concept code supplied by FrSIRT."

109 of 596 comments (clear)

  1. Uh oh! by kryogen1x · · Score: 3, Funny
    Hey everyone let's use IE now, because it's safer than Firefox.

    Oh, wait.

    1. Re:Uh oh! by tomjen · · Score: 2, Funny

      At least firefox is safer than lynx - no one has been arested for using firefox - yet.

      --
      Freedom or George Bush
    2. Re:Uh oh! by ebuilder · · Score: 5, Insightful

      Start your stop watches and let's see how long before a patch is forthcoming. To my mind that is the real test Then compare that time to M$' response time.

      --
      Eric C Williams E-Builders, LLC
    3. Re:Uh oh! by KronicD · · Score: 2, Informative

      This is what he was refering to.

      --
      "Those who would give up Essential Liberty, to purchase a little Temporary Safety, deserve neither Liberty nor Safety"
    4. Re:Uh oh! by Curtman · · Score: 4, Informative

      Start your stop watches and let's see how long before a patch is forthcoming

      Might as well hit stop now. The bug isn't exploitable any more since update.mozilla.org itself has been fixed.

    5. Re:Uh oh! by MarkByers · · Score: 5, Informative

      In Firefox, to stop this vulnerability:

      Web Features->Allow web sites to install software

      I'll switch to MS IE as it has no known serious vulns

      Internet Explorer Long Share Name Buffer Overflow Highly Critical

      Yeah... whatever. I don't mind if you would rather use a browser with a known serious security problem, but saying that IE has no known serious issues is misinformed.

      --
      I'll probably be modded down for this...
    6. Re:Uh oh! by Curtman · · Score: 2, Insightful

      Well Opera doesn't seem to have this vunerability or IE's woes

      Its too bad it has obnoxious ads, its javascript sucks, and it is proprietary though.

    7. Re:Uh oh! by KnightMB · · Score: 3, Informative

      Anyone actually tried this yet? I did and it did NOT work on Windows XP, Windows 2000, Linux (obvious), Windows 98, Windows 2003 Server or Windows NT 4.0? So what gives? More FUD being spread about Firefox again?

    8. Re:Uh oh! by imsabbel · · Score: 2, Insightful

      Come on.
      This bug was a classified bugzilla item since nobody-knows-when.

      So starting the stopwatches NOW would be pointless, wouldnt it?

      --
      HI O WISE PRINCE. WHT TOOK U SO DAM LONG?
    9. Re:Uh oh! by Curtman · · Score: 4, Informative

      Are you telling me you expect a noob to know this? How is my grandmother supposed to know of this?

      Know what? Whats wrong with your grandma, Alzheimer's?

      Why doesn't the little red arrow (update icon) display yet?

      Because you don't need to update anything. It was fixed on updates.mozilla.org. The site needs to be in your white list of sites that are allowed to install software to be vulnerable. I'm sure they will have a more permanent fix later at some point, but the current exploit no longer works. Go ahead and try it.

      So, as far as I'm concerend -- it's not.

      But you're a bit of a fool, so I'm not sure your opinion counts.

    10. Re:Uh oh! by Ryosen · · Score: 2, Interesting

      >>Its too bad it has obnoxious ads, its javascript sucks, and it is proprietary though.

      Proprietary, heaven forbid!

      Javascript works just fine. When you don't see a site working properly, it's the script that's the problem. Opera 6 was very stringent about adhereing to Ecmascript standards. Opera 7 relaxed that a bit, and version 8 even more.

      It's very easy to make the ads away (which are not at all obnoxious or intrusive to begin with).

      Simply register the software.

      --

      Ryosen
      One man's "Troll, +1" is another man's "Insightful, +1".
    11. Re:Uh oh! by Curtman · · Score: 2, Informative

      what's wrong with Opera's JavaScript?

      It's not the fault of Opera really, but the DOM doesn't match either Netscape/Moz or Exploder.. I wouldn't consider myself a "web developer" by any means, but I've done my share. Getting pages to work in IE and FF is a chore, and supporting Opera is just a waste of time.

  2. Has he dropped this in bugzilla as well? by wzzrd · · Score: 3, Insightful

    Because THAT, with some documentation, would be helpfull. Still, as long as it doesn't create *nix r00tkits on the fly on my box, I'm on the safeside :)

    1. Re:Has he dropped this in bugzilla as well? by Anonymous Coward · · Score: 3, Informative

      Yes, it's in Bugzilla (bug is temporarily restricted because of security concerns). There's also a dupe already. No need to add more.

  3. Yup - secure... by Anonymous Coward · · Score: 5, Interesting

    Maybe it's time to accept Firefox has it's fair share of exploits?

    And the best part, is the patch management system in Firefox is so damn poor (ie. non-existant), getting these patches distributed to end-users is a real damn chore (assuming they are distributed at all).

    1. Re:Yup - secure... by tomjen · · Score: 2, Insightful

      Well from what i could see, it uses javascript, so i just turned it off.

      --
      Freedom or George Bush
    2. Re:Yup - secure... by Ithika · · Score: 2, Informative
      You're right, I'm gonna have real difficulty pressing those little green and red arrows in the corner of the window when the time comes for the new release. Oh boy, I'm sweating at the thought of the trials that await me! I'll probably need to lie down after that, it being so difficult and complicated and all.

      Woe is us.

    3. Re:Yup - secure... by Anonymous Coward · · Score: 3, Insightful

      You are forgetting something, though:

      Current Firefox installers are not able to update a previously installed Firefox. I updated from 1.0.1 to 1.0.2 by pressing on the red arrow. The new version was fully downloaded (great for modem users, who need patches anyway?), installed, and the result was two Firefox versions installed according to Windows Add/Remove program...

      The nice thing is that if you checked the mozillazine forums, people complaining about the crappy way the updater worked were told that they should have know that they had to manually download the update, uninstall the previous firefox version, and install the new one.
      Yeah, how come I didn't know that clicking on update wasn't the way to update Firefox! Silly me :P

    4. Re:Yup - secure... by Deathlizard · · Score: 5, Insightful

      Patching is something where Firefox really needs to catch up on.

      One of the advantages of IE is that when an exploit comes around you just send everyone a 300k file instead of 20MB of browser. With Firefox, you have to send them an entire browser every time 1 exploit comes out.

      What Firefox needs is some sort of patching element built in to deal with patching the browser instead of forcing a complete downoad. It's not that Firefox cant do this. In fact, since most of the code is spread out across many files it should be a cakewalk to just update the affected file(s) automaticially with little to no user intervention. This would keep the file size download to a very minimum, allow it to update more frequently without waiting for a point release, and be easier to handle for people who dont know or care about security issues.

    5. Re:Yup - secure... by aldoman · · Score: 4, Insightful

      The problem is that it:

      a) Only works on Windows,
      b) Makes you install the entire installer again instead of a 'diff'-style patch,
      c) The installer is nearly 5MB, which means it's too big for most to download on 56k or GPRS

      Another problem with the 1.0.1, 1.0.2 and 1.0.3 updates is that they all required 'staggering' based on language becuase MozFo doesn't have the sort of server infrastructure to serve millions of downloads at once.

    6. Re:Yup - secure... by ColaMan · · Score: 2, Interesting

      Well, that's a lie.

      That's a bit harsh.
      Perhaps you could simply state that "that's not what I experience". Especially since my version (1.0_RC6) told me about 1.03 the other day.

      But, perhaps you should look under "Tools -> Options -> Advanced -> Software Update"

      --

      You are in a twisty maze of processor lines, all alike.
      There is a lot of hype here.
    7. Re:Yup - secure... by Mold · · Score: 2, Informative

      It puts a little red icon in the upper right-hand corner when an update is available. You click on it to get the newest version. It does this for me on both Windows and Linux.

      Seems simple enough to me.

    8. Re:Yup - secure... by starwed · · Score: 5, Informative

      This is already being worked on and should be in 1.1. ^_^ Check out ben's blog about it.

      A quote: "Darin has figured out how to get binary patching working, and is working on a system for incremental background update download."

    9. Re:Yup - secure... by Jugalator · · Score: 4, Interesting

      I'm running Firefox 1.0.2 and it displays:

      1. No update notification
      2. No red blob in a corner.
      3. No dialog box telling something new is available.

      The feature seems unreliable at best.

      --
      Beware: In C++, your friends can see your privates!
    10. Re:Yup - secure... by HermanAB · · Score: 2, Funny

      Uh, you mean, you just send everyone a 300MB file, instead of a 20MB browser - have you seen the size of SP2???

      --
      Oh well, what the hell...
    11. Re:Yup - secure... by Mr+Europe · · Score: 2, Insightful


      a) Only works on Windows,

      So does the virus....

    12. Re:Yup - secure... by mortis2600 · · Score: 2, Insightful

      Wow, that's incredibly wrong. When a patch is available for firefox, it tells you and all it takes is 3 clicks and you're patched. Just restart the browser and you're set. Christ, one major flaw and suddenly it's "so insecure" How many critical exploits has MSIE6 had since it's time in circulation? Why is it, no matter how patched it is, there are hundreds of types of malware that exploit MSIE6's ActiveX and other poor security structures to install themselves on the end users computer? Yeah.. Firefox is far more secure than MSIE6 and MS knows this. Thus, why they're trying to push out MSIE7 ASAP. Yep.. because MSIE is so secure. heh.. whatever.

    13. Re:Yup - secure... by SanityInAnarchy · · Score: 2, Informative

      And IE is more secure how?

      Windows update is worse. It'll force you to reboot your whole computer, not just your browser. And you still have to click the little button on most computers.

      --
      Don't thank God, thank a doctor!
    14. Re:Yup - secure... by karstux · · Score: 2, Informative

      Problem is, this little red icon isn't supported by all skins. I use the "SomeOrbitYellow" theme, and have never seen this icon - it's there and clickable, but invisible.

      --
      Don't whistle while you're pissing.
    15. Re:Yup - secure... by Finuvir · · Score: 4, Informative

      Firefox 1.1 will have support for binary patches, meaning no more full application download to fix a single bug.

      --
      Why is anything anything?
    16. Re:Yup - secure... by j1m+5n0w · · Score: 2, Interesting
      Patching is something where Firefox really needs to catch up on.

      I disagree, I think patching should be handled by the OS, not each application. The last thing I want is every application in my system to upgrade itself spontaneously according to some independently implemented mechanism and policy. I also don't think it's a good idea in general for applications to run in a context in which they are allowed to rewrite themselves. (I'm a linux user - I don't know enough about Windows to know if a robust whole-system auto update mechanism is available to non-Microsoft applications. If not, I can see why such a feature would need to be implemented out of necesity.)

      I do agree that we should be using binary diffs whenever possible rather than sending whole packages. Yum is an amazing resource hog, it would be great to reduce its bandwidth usage.

  4. Nasty by bustersnyvel · · Score: 3, Insightful

    That's nasty! I'm glad that in Linux files aren't automagically executable when you give them a certain name :)

    1. Re:Nasty by cortana · · Score: 5, Informative

      Unfortunately, the exploit could have just as easily created a file starting with #!/bin/sh, and passed 555 as the 'permissions' argument to createUnique.

      Why on earth the browser thinks it's necessary to allow scripts to create executeable files is beyond me.

    2. Re:Nasty by cortana · · Score: 5, Informative

      Well, in Windows it would only have administrator priviliges if the user was dumb enough to run Firefox as an administrator. ;)

  5. This was reported to bugzilla some time ago! by Exter-C · · Score: 5, Informative

    This was reported to the mozilla bugzilla a while ago. https://bugzilla.mozilla.org/show_bug.cgi?id=29269 1

    1. Re:This was reported to bugzilla some time ago! by passthecrackpipe · · Score: 4, Informative

      interesting - even when you go past the "cant view bugs from slashdot" stuff, it seems access to this bugreport has been denied. Yay open source!

      --
      People who think they know everything are a great annoyance to those of us who do.
    2. Re:This was reported to bugzilla some time ago! by Anonymous Coward · · Score: 5, Informative

      It's a severe security-related bug, so the bug report is restricted. This is meant to stop script kiddies from scanning bugzilla for unpatched exploitable bugs. Unless you're a disciple of the full disclosure persuasion, that is the correct way. The Mozilla Foundation discloses all bugs when a patch is available to the general public.

      It's "Open Source", not "Sploitz4Free".

    3. Re:This was reported to bugzilla some time ago! by Hatta · · Score: 2, Interesting

      interesting - even when you go past the "cant view bugs from slashdot" stuff,

      Speaking of which, is there a way to turn off referrer information in firefox? It seems to me to be a big privacy problem, and it adds almost no functionality. I really have no incentive to tell other people what sites i'm browsing, so I'd rather not.

      --
      Give me Classic Slashdot or give me death!
    4. Re:This was reported to bugzilla some time ago! by cecil_turtle · · Score: 2
      Go to about:config in your address bar and search for this:
      network.http.sendRefererHeader
      and set the value to 0.
      Some unexpected pages might start breaking, so beware.
      Mozilla Network Prefs
    5. Re:This was reported to bugzilla some time ago! by RzUpAnmsCwrds · · Score: 2, Interesting

      "It's a severe security-related bug, so the bug report is restricted."

      And yet, when Microsoft does this, somehow it's "reprehensible".

      Isn't the Open-Source model supposed to be, you know, open? The exploit is already in the wild. Blocking access to the bug doesn't do any good.

    6. Re:This was reported to bugzilla some time ago! by _Sprocket_ · · Score: 5, Insightful
      And yet, when Microsoft does this, somehow it's "reprehensible".

      And on the flip side - where's all the folks who defend Microsoft's practices? Shouldn't they be also standing up here and saying how responsible the Mozilla Foundation is?

      Really - why try to paint this as an "open source vs. Microsoft" issue? If anything, this is the usual "full disclosure" vs. "reponsible disclosure" vs. "no disclosure" debate. The underlying development model has little to do with it.
    7. Re:This was reported to bugzilla some time ago! by TheDormouse · · Score: 2, Insightful

      You can view the source all you want. The bug is right there in the code. Just sift through the thousands of lines and you'll eventually find it.

      Just because Mozilla keeps the specific location of security-related bugs quiet until fixed doesn't mean that the source is any less open.

  6. Re:I'm not too worried by ssj_195 · · Score: 2, Insightful

    I'm using Linux too, but from what I hear, a significant amount of Windows users are completely and totally failing to trigger the exploit. Have any Windows users managed to get it to actually work, yet?

  7. Explanation by Anonymous Coward · · Score: 2, Insightful

    Firefox had the advantage of being able to fix bugs reveled by IE expolits. This gave the illusion of it being a bulletproof browser. Now that it has caught up with IE, it has exploits of it's own which just show that it's not much better than IE (coding standard-wise).
    As long as programs are written by humans, there'll be flaws. It's a fact of software-development.

    Will I have to download another 4.5MB so that I can fix this flaw?

  8. Summery? by Anonymous Coward · · Score: 3, Funny

    Exploit summery? Well, the weather is improving but I doubt that the exploit caused it.

  9. Reported and temporarily fixed by alanjstr · · Score: 5, Informative

    Bugzilla bug 293302 has been filed. A temporary fix has been implemented on UMO.

    1. Re:Reported and temporarily fixed by baadger · · Score: 2, Interesting

      Copy and page parent link into new tab or Firefox/Mozilla users set "network.http.sendRefererHeader" in about:config to 0 and then click.

  10. Re:Pretty serious exploit by Mathiasdm · · Score: 5, Funny

    You converted 45 % of your family to Firefox?

    --
    Join the anonymous, help develop the network: http://www.i2p2.de
  11. Tried it on my Mac... by Anonymous Coward · · Score: 5, Funny

    didn't work

  12. FrSIRT's Post! by spood · · Score: 2, Interesting

    It looks like a hacker alias, but it really stands for French Security Incident Response Team. Exploit description cached here.

    --
    ---- Just another spud server.
  13. Re:I'm sure everyone whill complain by ssj_195 · · Score: 4, Interesting
    And everyone will say ":oh no firefox is a security risk" whaaaa. well this isnt really the case and is overstating things just a bit. When it comes down to it firefox still has many quicker fixes and the bug is probably already fixed by now.
    Perhaps the bug is already fixed in the dev tree, but this is irrelevant if the fix takes 3 months to deploy to users. Hopefully, the fixes to the auto-update system coming up in 1.1 (where a "security fix" does not consist simply of "re-install the whole of Firefox with this new version") will make the whole deployment aspect faster. Although I have to say, Firefox 1.0.3 seemed to follow quite quickly on the heels of 1.0.2, which is encouraging! :)
  14. Stolen exploit by Anonymous Coward · · Score: 5, Informative

    They were already working on patching this, but it was stolen before they could finish and leaked to bugtraq with LIVE material in the exploit (it's not a proof of concept, folks!) and no explanation or advisory.

    Reminder: Bugzilla blocks /. referers. Copy URL and paste in new to view. (Beware Slashcode's extra spaces.)

    https://bugzilla.mozilla.org/show_bug.cgi?id=29269 1 %lt; Original security bug (probably still blocked to outsiders to prevent someone stealing it before mitigation)

    https://bugzilla.mozilla.org/show_bug.cgi?id=29330 2 %lt; Duplicate (reported after leak)

    They are going to release a 1.0.4 shortly, I gather.

    Still more timely than most of Microsoft's advisories... despite their earlier announcement. http://www.eeye.com/html/research/upcoming/index.h tml

  15. Leaked known bug by Anonymous Coward · · Score: 5, Informative

    A^C^E, a Firefox security researcher, is claiming on Addict3D.org that this is a 0day duplicate of a leaked, known bug. He says, "I suspect that my server was compromised, and I am currently using my contacts to find the culprit and bring him to justice."

    Also, bugzilla.mozilla.org is claiming they've been slashdotted. Go easy on em.

  16. I keep clicking on the exe files... by DaGoodBoy · · Score: 2, Funny

    ...but Firefox keeps suggesting I run it with Wine. I don't get it, I'm not thirsty. I'd rather run it with a nice plate of steak and eggs.

    --
    My God! It's full of Voids!
  17. Tried the test exploit they supplied... by a+whoabot · · Score: 2, Interesting

    ...with Firefox 1.0.3 on Windows 2000, and it didn't execute anything. Anyone else try it on Windows?

    1. Re:Tried the test exploit they supplied... by kbrosnan · · Score: 2, Insightful

      The exploit has been largely nullified by implementing a server side change.

      The exploit would still work if you whitelist the wrong site.

      --
      These people look deep within my soul and assign me a number based upon the order I joined. -Homer Simpson
  18. Possible workaround: by wideangle · · Score: 5, Informative

    Uncheck Tools > Options > Web Features > Allow web sites to install software

    1. Re:Possible workaround: by ScytheBlade1 · · Score: 2, Informative

      True, it SHOULD only apply to XPI's, but it also prevents this 0day from happening period.

    2. Re:Possible workaround: by jesser · · Score: 2, Informative

      This exploit has two parts: an XSS hole and a hole that lets xpi-installation-whitelisted sites execute arbitrary code. Your workaround only fixes the second part and leaves you open to an XSS hole, which is sufficient for stealing your saved passwords, cookies, secret pages on your intranet, etc. The real workaround is to disable JavaScript.

      --
      The shareholder is always right.
  19. Are you sure? by naelurec · · Score: 5, Interesting

    Just curious, I downloaded the page and loaded it up on several systems:

    Win XP, Firefox 1.0.3
    Win 2k, Firefox 1.0.3
    FreeBSD, Firefox 1.0.3

    and none of them did anything. The javascript looks like it should save a file (c:\booom.bat) and run it which should echo "malicious commands here" and wait for a keypress.

    Is this truly an issue with Firefox and not some other software? If so, any ideas why it doesn't work?

    1. Re:Are you sure? by SEE · · Score: 4, Informative

      Reading the Secunia explanation:

      Successful exploitation requires that the site is allowed to install software (default sites are "update.mozilla.org" and "addons.mozilla.org").

      So, unless you've whitelisted the exploit site (which generally would mean it's a site you trusted enough to install an XPI from), or the Mozilla website has been compromised, the exploit won't work.

    2. Re:Are you sure? by CTho9305 · · Score: 3, Informative

      That is incorrect. The exploit works by loading a page from a trusted site (one of the mozilla.org sites on the whitelist), then taking advantage of another Firefox bug to run some javascript in the security context of the trusted site.

    3. Re:Are you sure? by John_Booty · · Score: 2, Informative

      Doesn't work for me, either. Firefox 1.0.3, Windows XP SP2 here. I'm running Moox's build of Firefox; not sure if that affects anything.

      It looks like the script is spoofing ftp.mozilla.org somehow. I made sure that "Allow Web Sites To Install Software" was enabled in Firefox's preferences, and I even added "ftp.mozilla.org" to the whitelist of allowed sites! Still didn't work.

      Here's what happens when I load the page:

      1. Fx appears to contact ftp.mozilla.org and downloads the harmless XPI referenced in the "exploit" script. This takes several seconds.
      2. An error appears in the JavaScript console: "Error: install is not defined". No .bat file created at C:\ .........

      Either this "exploit" is B.S., or some other settings need to be in place for this to work.

      --

      OtakuBooty.com: Smart, funny, sexy nerds.
    4. Re:Are you sure? by CTho9305 · · Score: 5, Informative

      We made some server-side changes on update.mozilla.org to mitigate the attack.

  20. This isn't much of an "exploit" by richg74 · · Score: 5, Informative
    The actual advisory page is here. The "Solutions" section says this:

    Disable JavaScript, or disable the "Allow web sites to install software" option [Tools - Options - Web Features].

    Why would anyone run routinely with "Allow web sites to install software" enabled ?

    1. Re:This isn't much of an "exploit" by cortana · · Score: 5, Informative

      > Why would anyone run routinely with "Allow web sites to install
      > software" enabled?

      1. It's on by default
      2. We naievely assumed that the whitelist of web sites allowed to install software did its damn job.

    2. Re:This isn't much of an "exploit" by Lothsahn · · Score: 4, Insightful

      See, the thing is, the whitelist is broken.

      Firefox is only supposed to download and install from things in the whitelist. Unfortunately, it doesn't check the site correctly, and therefore can be tricked into thinking another site is mozilla.org

      So even though you "secured" your system, it's still vunerable because as long as you have anything in your whitelist (especially mozilla.org or the defaults), you're vunerable.

      Once the whitelist is working again properly, this won't be an issue.

      --
      -=Lothsahn=-
    3. Re:This isn't much of an "exploit" by NutscrapeSucks · · Score: 3, Interesting

      The design is flawed.

      Agreed -- and even worse, the design was copied directly from Microsoft's ActiveX system!

      It's a bit frustrating to see Firefox advocates continually prattle about "Security ... activex LOL", when FF does in fact have a nearly identical feature as ActiveX. And when there's a mechanism for installing program files from webpages, people will tend to find holes in the sandbox. Hopefully this quiets the "better by design" crowd.

      --
      Whenever I hear the word 'Innovation', I reach for my pistol.
  21. New FrSIRT Vulnerability by NitsujTPU · · Score: 3, Funny

    FrSIRT Vurnerability Alert!!

    FrSIRT will go down 2 minutes after the start of a brutal Slashdotting.

  22. Package Manager by MarkByers · · Score: 2, Insightful

    the patch management system in Firefox is so damn poor (ie. non-existant)

    Pretty much any modern OS distribution comes with a package manager that handles upgrading for you. Time for you to upgrade your OS perhaps.

    --
    I'll probably be modded down for this...
  23. Re:gah by Anonymous Coward · · Score: 2, Insightful

    Wanna bet? In my experience it's the Firefox fanboys and zealots who cry that about IE every time it's mentioned on Slashdot. Firefox is the better browser, but kids, we already know that, and bashing IE doesn't make it any better.

    I'd also wager that comments like "This will be fixed quickly, IE still sucks." will get modded up to +5 insightful instantly. Again. Off-topic is so relative when it comes to Slashdot, you see.

  24. This shouldn't be a competition. by FrothyBitter · · Score: 5, Insightful

    There's not many comments yet, but most of them have a similar theme: " Oh no, now Microsoft and Internet Explorer users can get payback for all the trash talk we've thrown at them." Then they rationalize it with, "But, MS and IE are way worse because of quantity, severity, and duration until patch."

    Now think about it for a minute. Who are you really at war against? Security exploits and the people who would exploit them, or browsers other than the one you use and the people that use them?

    This reminds me of the days when Mac zealots would get all freaked out every time PC's got faster. "OMG, this is bad news! Now there are 3GHz PCs for under 500 dollars!"

    This really boils down to people rating the quality of Product A compared to the suckiness of Product B. Personally, I've been using Products A, B, and C for a long time. When there is a problem found with Product B, that really doesn't make Product A perform the task I use it for any better.

    If you want to call yourself a truly knowledgeable computer user, then you have to acknowledge that Products A, B, and C all have their strengths and weaknesses and therefore have tasks their better suited for as well as tasks in which they're not the best solution.

    If you look at it from the proper perspective, every time an exploit is found by good people before bad people have a chance to do harm with it then it is good for everyone.

    This particular exploit also demonstrates how foolish it is to posture and sling insults. The whole time FF users slung insults at IE when exploits were found, this exploit was there lurking below the surface waiting to be found.

    Let applications that are without exploit cast the first stone. Since that's never going to happen, argue your cause based on its merits.

  25. Re:Harmless on Linux by imsabbel · · Score: 2, Insightful

    Hm.
    I am no linux expert, but wouldnt it be perfectly possible to make a linux version, that lets say downloads and executes a shell script that kills you user directory?

    --
    HI O WISE PRINCE. WHT TOOK U SO DAM LONG?
  26. Re:gah by ergo98 · · Score: 4, Insightful

    Now we'll see Microsoft going "OMG DON'T USE FIREFOX YOU CAN'T EVEN CLICK ON SOMETHING SAFELY!".

    You mean like the F/OSS evangelists do everytime a flaw is found in Internet Explorer?

    However, I do think there is an important lesson in here - a lot of open source advocates have set an unreasonable level of expectations by proclaiming the amazing magic of open source: A fantasy world where every line is thoroughly vetted by thousands of super-experts, and if the source is available that instantly disproves the existence of malicious intent (put a trojan out, mark in GPL and make the source available, and I'd bet a lot of the converted would immediately download and install blindly. There are countless OSS projects where no one but the author ever bothers looking at the code).

  27. Re:Security of IE versus Firefox by alienw · · Score: 2, Insightful

    I routinely see websites exploit a fully-patched IE -- either due to some unpatched vulnerability or due to the ease of tricking the user with IE. I have yet to see a single website successfully exploit firefox. Of course, that doesn't excuse your sysadmin's incompetence, but I would say even Firefox 1.0 is a hell of a lot less vulnerable than the latest MSIE.

  28. Re:gah by Anonymous Coward · · Score: 5, Insightful

    I have to disagree. This sort of exploit is extremely worrying.

    At first, Mozilla fans (me included) all said "the chances of Firefox getting 0wned by exploits is very slim, Mozilla is secure by design -- IE isn't".

    By about 0.9 or 0.10 the holes started pouring in -- but it was ok: "This is simply Mozilla Foundation's bug patching contest, they are working FOR us instead of AGAINST us."

    After this it wasn't only white-hat mozilla funded security experts that started showing there was holes in the code. We changed our story again and, somewhat rightly, pointed out that "these are very theoretical and it would be very hard to use this to exploit a computer like IE can".

    This is a really big problem. This will get exploited like crazy as it seems exceptionally easy to do. Not only that, I expect the only fix from Mozilla will be as usual, a 5MB binary installer with the files changed. This is unacceptable on a 56k modem and people just won't bother upgrading to a secure version.

  29. Secunia: Extremely Critical by MarkByers · · Score: 5, Informative

    Secunia have already released an advisory explaining how the exploit works:

    http://secunia.com/advisories/15292/

    This is the first Firefox exploit that has received the rating 'Extremely Critical'.

    --- Extract from Secunia's site ---

    Description:
    Two vulnerabilities have been discovered in Firefox, which can be exploited by malicious people to conduct cross-site scripting attacks and compromise a user's system.

    1) The problem is that "IFRAME" JavaScript URLs are not properly protected from being executed in context of another URL in the history list. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an arbitrary site.

    2) Input passed to the "IconURL" parameter in "InstallTrigger.install()" is not properly verified before being used. This can be exploited to execute arbitrary JavaScript code with escalated privileges via a specially crafted JavaScript URL.

    Successful exploitation requires that the site is allowed to install software (default sites are "update.mozilla.org" and "addons.mozilla.org").

    A combination of vulnerability 1 and 2 can be exploited to execute arbitrary code.

    NOTE: Exploit code is publicly available.

    The vulnerabilities have been confirmed in version 1.0.3. Other versions may also be affected.

    Solution:
    Disable JavaScript.

    --
    I'll probably be modded down for this...
  30. Re:gah by ssj_195 · · Score: 2, Interesting

    Excellent analysis. Wish I could mod you up, but hopefully others will take it upon themselves to do this. There is some light at the end of the tunnel, however; I gather that the installed version of Firefox spans several small-ish files, and that the next Firefox version (i.e. 1.1 onwards) will be geared towards swapping out just the files that cause the problem, alleviating the large downloads (and general inelegance) of performing a full download & re-install every time a patch is required.

  31. Rooted? Blame user! by MarkByers · · Score: 2, Interesting

    If you are running your web browser as root, and you get rooted, then it is your fault.

    Don't run as root unless you have to.

    --
    I'll probably be modded down for this...
  32. Re:gah by Pecisk · · Score: 2, Insightful

    Hmmmm, F/OSS evangelists do that? Most them don't even care about IE bugs anymore, because they lost count.

    Look, if I am honest, i don't give a shit about IE, because I simply don't use it, so I'm not going to bash or prise it. But what you claim is outright ridiculous. This is NOT a trojan case, it is first, so you compare apples with oranges, second, it is just bug in JavaScript, concept of installing software from web site was right with whitelist protection, if it doesn't work it is bug, but not in design, but in coding. Third, you just think that many people will install this theoretical GPL-based trojan horse without questions - don't mentioning that very early adaptors of any new GPL based app is usually geeks who doesn't take security lightly - then please show me some record when such thing ever has happened.

    I would like to spend mod points to mod you troll, but hey, as it is stylish now to bash open source in Slashdot now (because lot of Microsoft/Windows crowd joined recently years) and you will get certanly some mod points for saying 'i told you so, open source is unsecure and evil'. It doesn't matter that reality check shows different picture.

    --
    user@ubuntubox:~$ stfu This server is going down for shutdown NOW!
  33. Fixes for large sites by shirro · · Score: 5, Informative

    For people running Firefox in a business or school with centrally locked down settings I think a quick fix might be to add

    lockpref("xpinstall.enabled","false");

    xpinstall.enabled seems to be the preference changed by "Allow websites to install software"

  34. Linux and MacOS vulnerable, too by Animats · · Score: 5, Insightful
    This exploit will work on Linux and MacOS, too, if anybody bothers to write an attack for them.

    The basic problem is that the Mozilla developers, in their futile attempt to create a "platform", put in a mechanism comparable to Active-X - a way to dynamically download executable programs. Of course, they tried to make sure this "feature" could not be used for purposes of evil. Like Microsoft, they failed.

    Understand, this isn't subtle. The code uses built-in Mozilla JavaScript extensions to create a local file in a very straightforward way. It then calls "nsILocalFile::launch()" (which does exactly what you think it does) to launch it. Those are capabilities that shouldn't be in a browser's JavaScript engine at all.

    Having designed in a potential security hole big enough to drive a semitrailer through, they tried to make it "secure" with the usual crap approaches - signatures, lists of trusted sites, and disabling for certain types of URLs. They failed. They forgot to make those checks for "favicon.ico" files (Mozilla's implementation of a Microsoft icon-in-the-toolbar gimmick.)

    Plugging that hole is not the answer. The problem is more fundamental. "nsILocalFile::launch()" needs to be removed. Browsers have no business launching arbitrary executable programs. Period.

    1. Re:Linux and MacOS vulnerable, too by Animats · · Score: 3, Insightful
      this problem is equivalent to xpinstall having a buffer overflow exploit which allows code execution.

      No, it's not. This isn't anything subtle like a buffer overflow. This exploit uses standard features to download an executable (which shouldn't be allowed) and then execute it (even worse). This is a designed-in hole. It passed Mozilla's code review on April 9, 2002.

      Personally, i'm all for removing extensibility of firefox, dropping support for helper applications and external view source. are you really a proponent of such things?

      Yes. The Netscape/Mozilla "browser as platform" thing didn't work out. That's why Firefox exists. Firefox has legacy code from the Mozilla era, and much of it needs to come out.

  35. Root on Linspire by tepples · · Score: 2, Informative

    unlike in Windows, it also wouldn't have superuser privileges.

    Linspire (or at least older versions thereof) runs as superuser.

  36. Not everybody runs Windows XP by tepples · · Score: 2, Informative

    From a security standpoint, fully updated IE is much better than unupdated Firefox.

    Unfortunately, a legit copy of the full update to IE costs at least $100 for users of Microsoft Windows 2000 operating systems.

  37. Is this a design issue that will breed more bugs? by Beryllium+Sphere(tm) · · Score: 3, Insightful

    In a nutshell, Firefox has the idea that some sites are privileged (namely the sites on the whitelist for installing software), it lets privileged sites have a dangerous degree of control over the user's computer, and it has at least one way for unprivileged sites to execute code in the context of a privileged site.

    What are the important differences between this and Microsoft Internet Explorer? In MSIE some sites are in the Trusted Sites or Local Machine zones and therefore privileged. Such sites have a dangerous degree of control over the user's computer, and there have been many ways for unprivileged sites to execute code in the context of a privileged site.

    Is Firefox doing something better than IE in its design, or are we going to see a whole class of bugs like this one in the future?

  38. Re:gah by Tim+C · · Score: 2, Insightful

    No one ever claimed F/OSS was perfect or resulted in perfect code

    Yes, they have. Almost every discussion about such things here will have a number of replies claiming just that. Of course, those people aren't worth listening to, but they still say it.

  39. Batch/EXE by kg4gyt · · Score: 2, Informative

    Sounds like a windows only vulnerability. Are the Mac and Linux versions open to the hole as well?

  40. Re:I'm sure everyone whill complain by CTho9305 · · Score: 2, Informative

    The devs were already working on it before some jerk full-disclosured w/working exploit. It had already been marked as a bug that would block both the 1.0.4 and 1.1 releases. All this person did was cause a lot of headaches for Mozilla developers, and put many users at risk.

  41. Does it affect the mozilla suite? (seamonkey) by johansalk · · Score: 2, Interesting

    Well that's the essential question. If it doesn't I'd rather flee to mozilla suite than IE.

  42. Trusted Sites Only? by sepluv · · Score: 2, Informative

    The security advisory doesn't explain it too well, but it it seems to imply that this only happens with sites that you've added to your list of sites trusted to install software (in which case it isn't really much of a problem).

    --
    Joe Llywelyn Griffith Blakesley
    [This post is in the public domain (copyright-free) unless otherwise stated]
    1. Re:Trusted Sites Only? by sepluv · · Score: 2, Interesting
      Even when I give it authorisation and enable JS, I cannot get the exploit to work.

      Anyhow quoting the article:

      Update (08.05.2005) - The Mozilla Foundation patched (partially) this issue on the server side by adding random letters and numbers to the install function, which will prevent this exploit from working.
      --
      Joe Llywelyn Griffith Blakesley
      [This post is in the public domain (copyright-free) unless otherwise stated]
  43. Re:Javascript ! Will it ever go away ? by cicho · · Score: 4, Insightful

    " javascript. The language that has no purpose anymore."

    Look into Firefox's chrome directory and say that again.

    --
    "Only the small secrets need to be protected. The big ones are kept secret by public incredulity." - Marshall McLuhan
  44. It's not that easy... by DarkAvZ · · Score: 2, Insightful

    With propietary software it's easier to implement a binary update feature, since you're the only one that gets to compile the source code. However, since Firefox is free software (you know, free as in free speech), everybody can compile it, using perhaps different optimizations (portage comes to mind), so implementing a binary update for Firefox (or any other free software for that matter) is quite difficult.

    --
    09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
    1. Re:It's not that easy... by EvilJoker · · Score: 3, Informative

      Mozilla provides a number of builds- Windows, MacOS X, and Linux i686, and each in a wide variety of languages.

      These are the ONLY builds they should be worried about patching (and if they could make it language independent, it would be 3 packages). Everyone else gets the source code. Let Portage figure out how to update things.

  45. Even more useful (to an attacker) by acb · · Score: 2, Insightful

    would be a script which downloads and installs a rootkit and/or IRC-controlled spam relay.

  46. Re:Javascript ! Will it ever go away ? by TheHonestTruth · · Score: 2, Insightful
    The language that has no purpose anymore.

    Seriously, it's not like google uses it for gmail or anything... oh wait.

    -truth

    --

    I had a steady B+ in my AI class until I failed the Turing test...

  47. This is my interpretation of it... by MarkByers · · Score: 2, Insightful

    The two sites "update.mozilla.org" and "addons.mozilla.org" are trusted by default, and the exploit only requires these default trusted sites.

    The web page first tricks Firefox into installing a trusted extension (vulnerability 1). Then it takes advantage of an vulnerability during the install process (vulnerability 2).

    Separately these vulnerabilities are not that worrying, but combine them, and you have a problem.

    --
    I'll probably be modded down for this...
  48. Already there. by SanityInAnarchy · · Score: 2, Insightful

    Not a full patch, but the exploit no longer works. Look at the dates in TFA:

    Exploit posted 07/05/2005
    They noticed the Mozilla fix on 08.05.2005

    IE still has multiple unpatched vulnerabilities, like it always does. Firefox gets a vulnerability and patches it the next day. I hate to call "astroturf", but the grandparent post reeks of green plastic.

    So, I dare you: try it. Try posting a trojan in an open source project. See if it ever gets accepted. See how fast it gets patched, especially once it becomes known.

    In reality, the difference is like night and day -- Firefox patched in 1 day, IE patched never.

    --
    Don't thank God, thank a doctor!
  49. Re:gah by yfan · · Score: 3, Informative

    Um, let's take a minute and remember that according to the secunia advisory, ONLY sites that are allowed to install software can exploit this. And by default, that's only update.mozilla.org and addons.mozilla.org. If you are not adding untrustd sites to the list of sites that can install software to your browser, you are probably not in danger. That is not to say this doesn't need to get fixed, it totally does. But we're probably getting a little more excited/worried than there is cause for.

  50. Perhaps... by MO! · · Score: 2, Informative

    Perhaps you should manually download and install a release past beta. If you've been running the same version for "all these months" then you probably don't have a version current enough to include the update code. I've been getting the update notification icon since the 1.0 release, and perhaps even one of the release candidates. I've had the update icon working on Win2000, WinXP, SuSE Linux, and for a short time on a FreeBSD box.

    --
    I AM, therefore I THINK!
  51. Re:gah by Albinofrenchy · · Score: 2, Insightful

    I would recommend that you stop letting the idiots drag you down to thier level.

    --
    "A man is but the product of his thoughts what he thinks, he becomes." -Mahatma Gandhi
  52. Oh yes it will! by Anonymous Coward · · Score: 2, Informative
    Or all the windows users could just switch to Linux where this "exploit" won't do shit.

    Obviously "aichpvee" didn't RTFA:

    Additionally it has been confirmed that this exploit does not only affect Microsoft Windows users but, if the code is adapted, can also affect both MacOS and *nix operating systems running vulnerable version of Firefox. The basic problem lies within Firefox's pseudo "Active-X" mechanism designed to dynamically download executable programs.
  53. Re:I'm sure everyone whill complain by EchoMirage · · Score: 2, Interesting

    The devs were already working on it before some jerk full-disclosured w/working exploit.

    Well double dumbass on the Mozilla developers for knowing about it and not taking steps to mitigate it even without an exploit in the wild. Calling the person who released it a "jerk" just shows that you have no understanding that a security risk is severe, whether or not anybody knows about its existence. It's said time and time again, but nobody ever listens: security through obscurity is not security. The person who posted it wasn't a jerk - that's just blaming somebody else for the Mozilla developers' failures. Stop pointing the finger, fix the damn problem, and release a patch before Monday morning.

    [Disclaimer: I'm a Mozilla lover, not a Mozilla hater, but lovers can still have quarrels. I've used Phoenix/Firebird/Firefox exclusively since a week after Phoenix 0.1 was made public, and I've been a heavy advocate for it from day 1.]

  54. Re:I'm sure everyone whill complain by CTho9305 · · Score: 2, Interesting

    Well double dumbass on the Mozilla developers for knowing about it and not taking steps to mitigate it even without an exploit in the wild.
    There was nothing the Mozilla developers COULD do to mitigate it. Only when we (the Mozilla Update devs) realized exactly how the exploit depended on the Mozilla Update website could we do anything - and we spent a few hours last night working on the first level of mitigation. We've been working on a better solution most of today.

    Calling the person who released it a "jerk" just shows that you have no understanding that a security risk is severe, whether or not anybody knows about its existence.
    Yes, and it becomes a lot more severe once an exploit is posted for all the script kiddies to use. Do you really think we're better off now that any idiot can own a Firefox user's machine, rather than just the white hat who reported the hole (plus at most a few black hats)?

    It's said time and time again, but nobody ever listens: security through obscurity is not security.
    Obscurity is a valid layer of security, so long as it's not the only one. The fact that somebody felt it was wise to strip us of one layer of protection is what is annoying.

    If one of the doors to your house had a broken lock, would you rather have that be a secret until you can get to the hardware store and fix it, or have someone inform the whole neighborhood? Of course you'd PREFER to not have a broken lock at all, but in the real world, things don't always go the way you want.

    The person who posted it wasn't a jerk - that's just blaming somebody else for the Mozilla developers' failures. Stop pointing the finger, fix the damn problem, and release a patch before Monday morning.
    Nobody blames the person who leaked it for the hole - I blame the person who leaked it for the people who get hacked as a result of the posted exploit.

  55. Re:gah by sploit · · Score: 2, Informative

    There are two independent bugs which are combined in the demo exploit. The cross site scripting part does not require any whitelist privilege whatsoever. If you're using login cookies, you're vulnerable. It is entirely possible to write an exploit which orders stuff from online stores, in your name and from your IP address. Combined with the cross site scripting bug, the whitelist requirement of the remote execution bug is moot, because a site can simply inject code into one of the standard whitelisted sites. The temporary fix on UMO breaks the published exploit, but there is no reason why an exploit couldn't simply inject its own call to InstallTrigger.install into one of these sites. This is a VERY dangerous combination of bugs. There will be exploits. The only way to escape both bugs is to turn off Javascript. Turning off software installation just prevents the remote execution, not the cross site scripting.

  56. Re:gah by Albinofrenchy · · Score: 2, Funny

    Are you serious? Somehow you mixed up my post with the parent post and constructed some form of elaborate world where you were right and witty.

    Unfortunatly, you lack the cognitive ability to figure out context and are flaming someone who is more or less on your side of this debate.

    --
    "A man is but the product of his thoughts what he thinks, he becomes." -Mahatma Gandhi
  57. The underlying model has everything to do with it by Sycraft-fu · · Score: 2, Insightful

    MS has always taken a "security through obsucrity" approach. They are firm advocates of keeping things closed. They believe it is best to keep things restricted to their in house and other trusted testers. They take public commentary, but only on the end result, the process and the code is shrouded in mystery.

    So for them, it's quite consistent to want to sit on a bug until they have a patch. After all, the code isn't open so no one else can fix it, and if it's kept quiet it's much more likely no one can exploit it until a patch is released.

    Open source is the exact opposite theory, the many eyes theory. You open the entire code base to the entire world, without restriction. So anyone onw, malicious or benevolant can examine just how your stuff works. You actively encourage others to modify your work and to distribute those modifications to the world. It's all about transparancy and access.

    So in this case it's rather inconsistent to keep everything hidden from the public. They are saying "there's a problem in the code we gave you, but we aren't going to tell you what it is or where it is." That sounds a lot like the Microsoft/closed source idea to me.

    Also it's a particularly valid commentary on /. since they like to periodicly run MS bug patch stories. When these run, there are always a ton of people who slam on MS for their security record, and specificly for keeping people in the dark about the bugs until patch day.

    However when an OSS patch story breaks, some of these very same people will crow on about how wonderful open source is and how fast the bug got patched because it's open. Often, however, a little investigation reveals that the bug has been known for some time, but the devs put a lid on it while the made a fix, same as MS does.

    Now perhaps that's the proper strategy, you keep quiet about a bug until you have a fix, or until there's a demonstrated venurability in the wild. Maybe that's the best way to minimize damage. However, if that is the case, you can't hate on MS for doing it while praising Mozilla for the same thing.