Slashdot Mirror


Unpatched Firefox 1.5 Exploit Made Public

ThatGuyGreg writes "C|Net is reporting that an unpatched exploit in Firefox 1.5 has been made public, making it very easy for ne'er-do-well-sites to cause your browser to crash on startup with a single visit. Until a patch is released, it is recommended that you disable your history.dat file."

58 of 309 comments (clear)

  1. FC4, 1.5 by (1+-sqrt(5))*(2**-1) · · Score: 4, Insightful

    I can report that the exploit doesn't work on FC4, with the latest 1.5 built from source.

    1. Re:FC4, 1.5 by Anonymous Coward · · Score: 5, Informative

      The Mozilla people are also reporting that the exploit doesn't seem to work on any version of 1.5:

      Mozilla Foundation, which released Firefox, said it was not able to confirm the browser would crash or be at risk of a DOS attack, after visiting certain Web sites.

      "We have gotten no independent verification that it crashes (Firefox), but there have been a lot of attempts to try," Schroepfer said.

      Apparently they're having a hard time duplicating this particular bug. Has anyone here on /. seen it actually happen?

    2. Re:FC4, 1.5 by swtaarrs · · Score: 2

      Yeah....the article says it affects XP SP 2

    3. Re:FC4, 1.5 by FoXDie · · Score: 4, Interesting

      Go to http://www.apple.com/ipod/features.html and tell me if I'm the only one that has Firefox crash from that page without fail, since the upgrade to 1.5

    4. Re:FC4, 1.5 by mebob · · Score: 4, Informative

      I'm pretty sure that it is the new QuickTime 7 plugin causing that.
      As other have posted, it crashes IE as well. And every firefox crash I've had since I've installed 1.5 appears to have been QuickTime related!!!
      All happening after installing 7 except for one.

      --
      =1000101
    5. Re:FC4, 1.5 by Newrad · · Score: 2, Funny

      LOL... why don't you people just manually call up a dialup provider chirp into the phone?

  2. Good Thing by Anonymous Coward · · Score: 5, Funny

    I'm still using Internet Explorer!

    1. Re:Good Thing by sloths · · Score: 5, Funny

      Did it come with a free dinosaur?

      --
      really 867993
      Karma schkarma
    2. Re:Good Thing by AgentScummy · · Score: 3, Funny

      Mine came with Windows 3.1

    3. Re:Good Thing by aussie_a · · Score: 2, Funny

      No but it does come with free spyware.

  3. The fix by rnelsonee · · Score: 4, Informative

    If it's already happened to you, just delete your history.dat file in your profile folder, and FireFox will create a new (empty) one on startup.

    1. Re:The fix by d34thm0nk3y · · Score: 2, Funny

      Heh, thats funny. There are 3 highly modded posts saying to just delete the history file. Hmmm.... why would Slashdotters be so familiar with a procedure such as that?

    2. Re:The fix by filament · · Score: 2, Funny

      I'm sorry, I can't read your comment because my browser has crashed.

      --
      This sig is covered under the GPL.
  4. Obligatory Jamaican Response by dotslashdot · · Score: 5, Funny

    Dat file will be history, man.

    1. Re:Obligatory Jamaican Response by uberjoe · · Score: 5, Informative

      You mean: "Dat file will be history Mon.

      --

      The days of the digital watch are numbered.

    2. Re:Obligatory Jamaican Response by Anonymous Coward · · Score: 4, Funny

      But the exploit was published on Wed.

  5. Only crashes? by ruiner13 · · Score: 4, Informative

    If this only crashes Firefox, how is it an "exploit"? I tend to use "exploit" as something that an attacker can use to their advantage to do something malicious. This is just an annoyance to have to move my poor cursor back to the icon and issue an oh-so-painful double-click.

    --

    today is spelling optional day.

    1. Re:Only crashes? by courtarro · · Score: 3, Insightful

      There are plenty of browser denial-of-service bugs, but few of them can actually render your browser useless upon every execution. This one has a lasting effect that's more significant that the old "do while(true) alert;"-style DoS attacks. A single double-click won't fix this one; you have to delete your old history.dat file.

    2. Re:Only crashes? by Anonymous Coward · · Score: 3, Insightful

      If it causes a crash, it's entirely likely that some malicious code could be injected into memory when that happens! If so, you're potentially up shit creek.

    3. Re:Only crashes? by Jugalator · · Score: 2, Insightful

      Crashes may be signs of buffer overruns and access violations, which is a bad thing not only from the app's and user's perspective, but also from a security perspective, e.g. if the memory space was prepared earlier with malicious code.

      --
      Beware: In C++, your friends can see your privates!
    4. Re:Only crashes? by Thundersnatch · · Score: 2, Insightful

      The vulnerability is incorrect handling of input. In this case, the only *exploit* published so far is a DoS. But obviously there's something very wrong with the input validation in the code, and remote execution may be possible with a more clever exploit.

      Witness the recent IE vulnerability, which MS didn't patch quickly because it was "only a DoS vulnerability". Of course, it turned out it was possible to execute code with the vulnerability, it just took a while for a better (worse?) exploit to be crafted.

    5. Re:Only crashes? by Da_Weasel · · Score: 2, Interesting

      lets say that some malicious code gets "injected" into memory when Firefox crashes. What are the dangers? If Firefox crashes then its not going to attempt to use that memory for anything...because...ummm....it's not running! If it's not running then it can't be tricked into doing something with this malicious chunk of memory. The only other thing that is going to be looking at that memory space is the OS, and that would likely only be concerned with reclaiming those blocks of memory for use by other processes once the Firefox process exits.

      Just because you can make a program crash, doesn't mean you can exploit it. As a matter of fact Firefox would be more dangerous if it didn't crash and kept on chuging along using corrupt data in the history.dat.

      --
      If you must!
    6. Re:Only crashes? by jonadab · · Score: 2, Insightful

      > Just because you can make a program crash, doesn't mean you can exploit it

      No, it doesn't mean that *necessarily*; however, there is historically a significant likelihood that such *might* be the case. The most recent IE remote arbitrary code execution exploit was formerly just a denial-of-service attack that for one reason or another never got patched, and eventually someone figured out how to make exploit it in a way that allows arbitrary code to be injected and executed. There are many other examples over time of cases wherein a flaw in some program or another, when initially discovered, was only a denial-of-service (or perhaps not even proven exploitable at all) but code injection and execution developed as a later, more sophisticated exploit of the same vulnerability.

      This should definitely get fixed, preferably *before* anybody discovers a way to do more malicious things than DOS with it. (And I have little doubt it will be fixed, probably quite soon, if past history is any indication of future performance.)

      --
      Cut that out, or I will ship you to Norilsk in a box.
  6. Incremental updates by moonbender · · Score: 2, Informative

    Sounds like a great opportunity to show off the snazzy automatic incremental update feature Firefox 1.5 has. Pushing a fix quickly to users who've got it enabled would be great.

    --
    Switch back to Slashdot's D1 system.
  7. Stopping the stupidity by tjwhaynes · · Score: 5, Informative
    For anyone out there who wants a safer experience out on the web, you owe it to yourself to install the NoScript extension and only allow whitelisted sites to run Javascript. The exploit published this morning (more a DoS and only seems to affect some but not all installations of firefox 1.5 according to SANS) uses a Javascript loop to build up an enormous topic that ends up being written into your history.dat file causing buffer overflow issues. Without Javascript, this sort of exploit is much tougher.

    Cheers,
    Toby Haynes

    --
    Anything I post is strictly my own thoughts and doesn't necessarily have anything to do with the opinions of IBM.
    1. Re:Stopping the stupidity by Psykus · · Score: 3, Informative

      The NoScript extension itself.

    2. Re:Stopping the stupidity by CosmeticLobotamy · · Score: 5, Funny

      The guy who drew the logo for that forgot the wingalings and the beefy arm.

  8. DOS by kihjin · · Score: 5, Insightful

    The 'exploit' seems only capable of a Denial of Service. There's no proof to indicate that malicious code could be executed.

    Plus, read this (from the article):

    "We have gotten no independent verification that it crashes (Firefox), but there have been a lot of attempts to try," Schroepfer said.

    So, this is all very hypothetical then?

    --
    This slashdot-related signature is a stub. You can help kihjin by expanding it.
  9. ummmm by Prince+Vegeta+SSJ4 · · Score: 3, Funny

    thats what thet get for making an extension that runs explorer within firefox https://addons.mozilla.org/extensions/moreinfo.php ?application=firefox&id=1419 *ducks*

  10. Not an "exploit" by joetainment · · Score: 4, Insightful

    This isn't even related to security. Its just a bug.... lots of apps crash when something happens. Doesn't mean its ok, but it doesn't represent a security issue does it? (Unless I'm missing something...)

  11. Tin Hats Need Not Fear by courtarro · · Score: 4, Funny

    Those of us with sturdy tin hats already have our histories disabled. Take that, evil!

    1. Re:Tin Hats Need Not Fear by raehl · · Score: 2, Funny

      Those of us with sturdy tin hats already have our histories disabled.

      Those of us with wedding rings do that too.

  12. Really by jupiter_ganymede · · Score: 2, Insightful

    Is it just me or is this a pretty worthless report? I can't really see this as being an exploit anyone would care about unless you happen be work for a certain company in Redmond.

  13. Um... Did you RTFA? It's not an exploit by Schrade · · Score: 5, Informative

    Quote from the bottom of the article:

    Correction: This story incorrectly stated the affiliation of Mike Schroepfer, Mozilla's results in verifying the Firefox 1.5 flaw, and the nature of the problem. Schroepfer is vice president of engineering with Mozilla Corp., and Mozilla has not been able to verify its browser can crash and lead to a denial-of-service condition. The problem itself was a not security vulnerability but actually a flaw in the browser.

    Read the article before you consider posting it with a sensational title!

  14. IE's execution of arbitrary code by Dreadlord · · Score: 5, Interesting

    Before someone starts saying Firefox is vulnerable to exploits just as IE, this exploits crashes the browser and only that, now compare this to IE's execution of arbitrary code.

    No software is perfect, but still, Firefox is clearly ahead.

    --
    The IT section color scheme sucks.
    1. Re:IE's execution of arbitrary code by ClamIAm · · Score: 2, Interesting

      And a while back firefox had a bug (in Windows) that allowed access to a shell. Knowing the number of people that run with admin access, this is just as bad. I'm not saying FF is as bad as IE, just that bugs can be brutal. (and undescriminating)

    2. Re:IE's execution of arbitrary code by Dreadlord · · Score: 2, Informative

      The origin of the bug is Windows and its shell: protocol, Mozilla simply handled those links back to the OS ad it does with protocols it doesn't know how to handle, other programs like MS Word were vulnerable to the very same exploit.

      It was fixed 24 hours after full disclosure, and only Win32 versions of Mozilla were vulnerable, doesn't this ring a bell?

      Anyway, read this link for more info.

      --
      The IT section color scheme sucks.
  15. Good test for the new Update System by brandonp · · Score: 2, Insightful

    This will be a good test for the new Update System that was implemented in Firefox 1.5. Too bad it will need to be utilized so soon.

    With the speed that the Firefox developers release their fixes and the ease of getting those fixes with the new system, I hope this will develop as proof of how well Firefox can handle these situations.

    --
    Brandon Petersen
    http://www.brandonpetersen.com/

  16. It's completely retarded... by ninja_assault_kitten · · Score: 3, Insightful

    The guy who reported it called it a 'buffer overflow' and clearly had no understanding of what it actually meant.

    which
    most users won't figure out.

    this proof of concept will only prevent someone from reopening
    their browser after being exploited. DoS if you will. however, code
    execution is possible with some modifcations.

    Tested with Firefox 1.5 on Windows XP SP2.

    ZIPLOCK

    -->

    heh
    function ex() {
                var buffer = "";
                  for (var i = 0; i ZIPLOCK says CLICK ME

  17. A crash can often lead to an overflow exploit by MushMouth · · Score: 4, Insightful

    When an app crashes (firefox does quite often for me) it means that it is doing something that the programmer didn't expect. That could be all sorts of things, from taking all the cpu, to writing to memory that it shouldn't be. Most overflow exploits started as mere crashes.

    1. Re:A crash can often lead to an overflow exploit by pclminion · · Score: 2, Insightful
      Most overflow exploits started as mere crashes.

      While that is true, this could also be a simple null pointer dereference, caused by incomplete error handling in the code somewhere. Those sorts of failures are typically not exploitable.

      Just because A implies B, does not necessarily mean that B implies A. All overflows are crashable bugs, but not all crashable bugs are overflowable.

      It's easy enough to find out -- load the core file into gdb and look at the instruction that crashed. If it's a null reference, chances are this bug is no big deal.

  18. Heh by aftk2 · · Score: 4, Funny
    cause your browser to crash on startup with a single visit.
    I've seen this exploit in the wild: it's called the MySpace Profile Page.
    --
    concrete5: a cms made for marketing, but strong enough for geeks.
  19. Someone needed to create a scoop. by Godeke · · Score: 3, Informative
    Correction: This story incorrectly stated the affiliation of Mike Schroepfer, Mozilla's results in verifying the Firefox 1.5 flaw, and the nature of the problem. Schroepfer is vice president of engineering with Mozilla Corp., and Mozilla has not been able to verify its browser can crash and lead to a denial-of-service condition. The problem itself was a not security vulnerability but actually a flaw in the browser.


    Wow, that is accurate reporting, which was then amplified in the summary to the point of absurdity.
    --
    Sig under construction since 1998.
  20. 1.0.7 Also vulnerable by sheepoo · · Score: 2, Interesting

    I ran the proof of concept on my installation of 1.0.7 (WinXP SP2) and it crashed the next time I opened FF. Task Manager showed that FF was eating up the memory like crazy. I deleted the history.dat file (which was 10 MB in size!!!!!!!) and sanity returned instantly :)

  21. Firefox history code is horrible by Anonymous Coward · · Score: 2, Informative

    In other news: Water is wet. Seriously, whoever wrote the history code needs to be shot. Once your history gets to any significant size, all operations on it start getting annoyingly slow. For me, it takes 15 seconds for firefox to open the Go menu for the first time in a session, and once you've done that, even more annoyingly there's a delay of a few seconds on every new page you visit for the rest of that session. The history sidebar is so excruciatingly slow it's practically unusable.

    1. Re:Firefox history code is horrible by WWWWolf · · Score: 3, Interesting

      Once you have the idea on how sucky Mozilla's history stuff is in practice, take a look at how the stuff is actually stored in history.dat. People have been rendered insane by just a single look at that stuff. Want to make sense of this format for some obscure reason? Read this and weep. This stuff is just about the most insane thing I've ever seen.

      I sure hope Mozilla folks get the unified storage plans together for Firefox 2.0, and use something like sqlite to store most of the user data. MorkDB format used by Mozilla is... just not elegant.

  22. so... by SharpFang · · Score: 4, Informative

    Preferences > privacy > history > [0] days; ok.
    Patched. I use the history feature about twice a year, won't miss it till the right fix is found.
    Not quite like disabling all the javascript in MSIE, is it?

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  23. Stop the stupidity by NineNine · · Score: 2, Insightful

    Another tip for you: if you remove the gas pedal from your car, you won't have any crashes! Really!

    DOWNLOADING MORE SOFTWARE to intentionally disable part of a program that is supposed to work is 150% unacceptable.

    Jesus, how bad does software have to get before people finally start to not use it? Luckily, I didn't pay anything for my Firefox installations, so I can't really bitch. But I CAN look at other, less buggy alternatives (like IE) that also offer useful features that Firefox doesn't, like Active X.

  24. Re:Is that a Product plug I see? by Anonymous Coward · · Score: 3, Informative

    No, just a badly worded summary of the original storm center diary entry in which the ISC handler attributes the possible FAILURE of this bug to crash firefox to the McAfee software, which, in his mind, has some mystical power to optimise firefox's inefficient string parsing algorithm even when it's deactivated!

    This bug is slightly lame, even as DOS -- There are no confirmed reports from half-or-more-brain-having people that it even crashes the browser in the first place. All it does is make the subsequent startups slow, especially noticable in slower machines.

    See bug 319004 at bugzilla.mozilla.org.

  25. Some exploit. by bradbeattie · · Score: 2, Insightful

    I recognize that it can cause inconvenience, but come on. Exploits in IE typically result in executing arbitrary code on the user's computer. I guess this is just another argument as to why system diversity is important. If no browser had more than 20% of the market it'd be difficult to target a large portion of internet users.

  26. i feel so unsaf on teh intarweb!! by Anonymous Coward · · Score: 2, Funny

    Rendered using Microsoft's *NEW* CSS/Teenager parsing utility:

    THA'TS WHY I SWETCHED TO IEXPOLRE TOOO.!

    ITS MUCH BETTAR CSs COPMP1ANDCE I meEN WHy COmply WHEN You cna PWN THERE NUB ASSES??? harharAR

    EVEN IT PROTECKS YOU

  27. Posting from an "Exploited" FF 1.5 by tyler_larson · · Score: 5, Informative

    False alarm. No security-related concerns, just overenthusiastic reporting.

    If you run the script below, it will create a page with a title that's quite huge. Close your browser and open it again. The browser will spin for about 2 minutes what it tries to make sense the contents of your history file. Once it's finished, you'll be back up and running, with no degradation in performance or visible side-effects. You'll be able to even view your browsing history (including the offending page). In fact, I'm posting this response after following the process described above (on WinXP), and I have a history entry entitled "AAAAAAAAAAAAAAAAA..."

    A bit of an annoyance, but hardly a security issue.

    Here's the official exploit code:

    function ex() {
    var buffer = "";
    for (var i = 0; i < 5000; i++) {
    buffer += "A";
    }
    var buffer2 = buffer;
    for (i = 0; i < 500; i++) {
    buffer2 += buffer;
    }
    document.title = buffer2;
    }
    --
    "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea...."
    RFC 1925
    1. Re:Posting from an "Exploited" FF 1.5 by sholden · · Score: 2, Funny

      Very dangerous. It should just dump that raw HTML to the screen, along with the HTTP headers rather than trying to process the text from an outside user who wrote whatever web page you happen to be looking at.

  28. Non-Story by Midnight+Thunder · · Score: 4, Informative

    C|Net has added the following correction at the end of the story:

    "Correction: This story incorrectly stated the affiliation of Mike Schroepfer, Mozilla's results in verifying the Firefox 1.5 flaw, and the nature of the problem. Schroepfer is vice president of engineering with Mozilla Corp., and Mozilla has not been able to verify its browser can crash and lead to a denial-of-service condition. The problem itself was not a security vulnerability but actually a flaw in the browser."

    So Firefox crashes, but no security vunerabilty.

    --
    Jumpstart the tartan drive.
  29. Must be joking by Charles+Dodgeson · · Score: 2, Insightful
    The effect makes restarting Firefox very very slow (several minutes). I've just tested on OS X and on SuSE 9.3. Once that is done you can clear history through Prefences. If you don't want to wait, you can remove or manually edit history.dat.

    The claim of a buffer overflow is nonsense. I suspect that that claim is a joke. The only thing that makes this mild borking work is a very long document title. In setting that up, the author uses a variable called "buffer" and "buffer2". Just because a JS variable gets named "buffer2" and gets set to something very long doesn't make this a buffer overflow. I like to think that the guy must be joking, instead of actually being that stupid.

    But in the end, there is a bug to be fixed in Firefox

    --
    Prime numbers are exactly what Alan Greenspan says they are -S. Minsky
  30. Informative :) by kentyman · · Score: 2, Funny

    I love how this is considered Informative.

    What? Oh, Jamaicans say "mon" instead of "man". I should write that important information down. Maybe it should be added to http://en.wikipedia.org/wiki/Jamaican_English.

    Keep that information flowin', mon! Irie!

    Shabba!

    --
    You know where you are? You're in the $PATH, baby. You're gonna get executed!
  31. CORRECTION by MooUK · · Score: 2, Insightful

    Sorry, having just posted that, it THEN crashed when I closed the Apple tab.

  32. Why focus on JavaScript? by Kelson · · Score: 2, Insightful

    Sure, the proof of concept uses JavaScript. But the problem itself has nothing to do with scripting. One could easily generate a 2.5MB HTML file with a really long title. 2 million "A"s in a row will probably compress pretty well, so if you serve it with on-the-fly compression, it doesn't have to take much extra time or bandwidth to retrieve.

    Bingo: exploited with no scripting involved at all.