Slashdot Mirror


New Firefox Vulnerability Revealed

Not long after Firefox 3.5.1 was released to address a security issue, a new exploit has been found and a proof of concept has been posted. "The vulnerability is a remote stack-based buffer-overflow, triggered by sending an overly long string of Unicode data to the document.write method. If exploited, the resulting overflow could lead to code execution, or if the exploit attempts fail, a denial-of-service scenario." It's recommended that Firefox users disable Javascript until the issue is patched, though add-ons like NoScript should do the trick as well (unless a site on your whitelist becomes compromised).

Update: 07/20 00:09 GMT by KD : An anonymous reader informs us that the Mozilla security blog is indicating that this vulnerability is not exploitable; denial of service is as bad as it gets.

64 of 250 comments (clear)

  1. Unbounded by Mikkeles · · Score: 5, Funny

    So who's the moron using unbounded buffers?

    --
    Great minds think alike; fools seldom differ.
    1. Re:Unbounded by nathan.fulton · · Score: 3, Interesting

      Well, seeing as the bug was found in the Just-in-Time compiler (first link), probably someone who is concerned that the section of the code that they are working on will become a bottle neck, or someone that has to do special stuff that requires unbounded buffers.

    2. Re:Unbounded by maxume · · Score: 5, Informative

      This is another, different bug than the one talked about in the first link. None of the other links specify whether this second bug is from the JIT or not.

      --
      Nerd rage is the funniest rage.
    3. Re:Unbounded by EsbenMoseHansen · · Score: 5, Funny

      What are six words you never, ever want to hear?

      "I have a headache tonight, dear"

      --
      Religion is regarded by the common people as true, by the wise as false, and by rulers as useful.
    4. Re:Unbounded by Torodung · · Score: 4, Funny

      I am shocked, shocked, to find unbounded buffer use in this open-source application.

      --
      Toro

    5. Re:Unbounded by Torodung · · Score: 3, Funny

      Again? That was my first reply, and it's a joke referencing Casablanca. I can format it the other way, if you like:
       

      I am shocked, shocked, to find half-baked misinformation on this Slashdot web-forum.

      Your reply is a meme syntax error: Response Out Of Range: !Sense of Humor ;^)

      --
      Toro

    6. Re:Unbounded by FatdogHaiku · · Score: 5, Funny

      Ladies and Gentleman, President Jeb Bush.

      --
      You have the right to remain sentient. If you give up the right to remain sentient, you will be elected to public office
    7. Re:Unbounded by Draek · · Score: 3, Funny

      "wow, its so small and cute"

      --
      No problem is insoluble in all conceivable circumstances.
  2. Re:Defective by design by TheRaven64 · · Score: 4, Interesting

    Is this a new copy-and-paste troll? Almost the same post appeared in the Linux kernel exploit article. Apparently some people missed the Defective by Design campaign and are completely unaware that it relates to DRM, not to arbitrary bugs.

    --
    I am TheRaven on Soylent News
  3. Turn off javascript... by popo · · Score: 4, Insightful

    ... and stop using all of your web-apps... sigh...

    --
    ------ The best brain training is now totally free : )
    1. Re:Turn off javascript... by Teckla · · Score: 4, Insightful

      Yeah, and half the websites out there will stop rendering then. Sadly, the vast majority of them don't need javascript to do their job, but such is the epic lame that is the average web programmer.

      Or maybe most web programmers don't want to spend a lot of time and money supporting the 1% of users out there that don't have or disable JavaScript.

      I'm just sayin'.

    2. Re:Turn off javascript... by commodore64_love · · Score: 3, Insightful

      Wouldn't avoiding javascript make webpages smaller & therefore load faster? Perhaps you've got a megawide connection, but when I'm traveling all I have is 50k dialup. Even at home I'm limited to a relatively slow 700k. I'd prefer a web that's mainly text and images without the bloat.

      Back in the 90s web programmers were taught to optimize and compress their pages as small as possible. It appears this lesson is no longer being taught in the schools.

      --
      "I disapprove of what you say, but I will defend to the death your right to say it." - historian Evelyn Beatrice Hall
    3. Re:Turn off javascript... by Xest · · Score: 4, Informative

      Looking at W3Schools stats on it it's about 5%. I've seen some stats suggest as high as 16% around 3 years ago:

      http://www.w3schools.com/browsers/browsers_stats.asp

      I feel Javascript is an important technology and rather than fucking around with all the proprietary crap like Flash we should be strengthening Javascript so it's more secure and more useful, in fact, a lot of browser vendors seem to be doing this, and those Chrome demos posted a few months back were agood example.

      But I also think it's silly to assume and design for Javascript unless Javascript is the whole point of your site. There's so many sites out there that use Javascript for things like drop down menus and sometimes even positioning where CSS would suffice and not require Javascript support it's silly. To turn away 1 in 20 users doesn't seem the brightest idea unless you're building a web application where absolutely the only way to do what you want to do is to use Javascript.

      Javascript shouldn't be a requirement for the vast majority of the web, only for those sites that truly need it.

    4. Re:Turn off javascript... by atraintocry · · Score: 2, Interesting

      But I also think it's silly to assume and design for Javascript

      According to 95% of users have JS on. There's no reason to essentially design two separate sites to support the other 5%. And it could be argued that that 5% could either easily turn it back on if they choose (in which case, they're the lazy one), or is using something really really old and has no need to, or doesn't want to.

      I'm not a web developer, but it seems obvious to me that while it's possible and often sensible to include the other 5% (which may include spiders, which you typically want), ignoring them because you don't have time for two designs is not at all silly. They may not even be the type of people you want on your site anyway.

    5. Re:Turn off javascript... by Just+Some+Guy · · Score: 4, Interesting

      Wouldn't avoiding javascript make webpages smaller & therefore load faster?

      Nope. To the contrary, a well-designed AJAX page that dynamically reloads sections instead of the entire page can potentially be much faster. Take the example of registering for a site account. Old way:

      1. User enters a username, submits the form.
      2. That username is taken, so the server sends back the whole page plus the error message.

      New way:

      1. User enters a username, clicks or tabs to the next field.
      2. Their browser sends a validation request via AJAX.
      3. That username is taken, so the server sends back the error message.
      4. The client displays the error message and returns focus to the username field.

      Alternatively, look at Slashdot itself. Yeah, it has its issues, but I have to say that I love the dynamic content loading. That's so much better (and easier on bandwidth!) than having to load a whole page just to expose a collapsed comment.

      --
      Dewey, what part of this looks like authorities should be involved?
    6. Re:Turn off javascript... by causality · · Score: 4, Insightful

      I've disabled it today and some sites are now really much faster than usually.

      I guess I really need to invest into configuring noscript.

      NoScript + Adblock Plus + Adblock Plus Element Hiding Helper + the Easylist and EasyElement subscriptions for ABP = the Web as it was meant to be.

      Advertising business models and entitlement mentalities (regarding ad revenue) be damned. If a Webmaster somewhere does not like that my computer is my property and will load only what I want it to load up, I recognize that their site is their property and I celebrate their right to deny me access to their site so I can find another.

      --
      It is a miracle that curiosity survives formal education. - Einstein
    7. Re:Turn off javascript... by Jah-Wren+Ryel · · Score: 2, Insightful

      New way:

      You left off step 0 - the server sends over a ton of javascript code that would not be transfered in the non-javascript case. Since neither case requires the retransfer of any of the images, it is easy enough for your example to go either way based on just how much extra javascript gets transferred.

      Furthermore, way too many sites have external javascript dependencies, like doubleclick, coremetrics, etc. By ignoring those we are pretty much guaranteed a faster experience.

      Alternatively, look at Slashdot itself. Yeah, it has its issues, but I have to say that I love the dynamic content loading. That's so much better (and easier on bandwidth!) than having to load a whole page just to expose a collapsed comment.

      Well, we are going to have agree to disagree here. For me, that interface is terrible. I fucking hate clicking every couple of seconds just to read what ought to be there in the first place, it totally kills the flow of reading the comments. I don't care how it is implemented, it is a terrible UI design.

      Instead of going all dynamic with a ton of individual database accesses, a smart designer could pre-build entire pages of article comments for the handful of common settings (view at +5, +4, +3, etc) gzip them up and store them in ram every 15-30 seconds and hugely reduce the cpu load on the server, minimize bandwidth consumption and keep the UI human-friendly.

      And if you wondering about my sig it is more about how some things now require javascript to get done on slashdot, there are no non-javascript alternatives. That's the kind of bad design that will chase off the most technical users.

      --
      When information is power, privacy is freedom.
    8. Re:Turn off javascript... by risk+one · · Score: 2, Insightful

      Or maybe most web programmers don't want to spend a lot of time and money supporting the 1% of users out there that don't have or disable JavaScript. I'm just sayin'.

      That's not really the point. Most websites are built on a lot of different client-side technologies. HTML, CSS, JavaScript, Flash, and god knows what else. And you're not implementing for just the few technologies you use, but for all four or five implementations of each technology by different major browsers. So if you use HTML/CSS/JavaScript and support the top five browsers, that that's fifteen implementations that can behave unexpectedly on your code. And that's just the ones you can test during development. In about a year ad a half, each of those browsers will have a new version out with new quirks and new unexpected behaviors.

      The best way to ensure that your code won't embarrass you, is to make sure it degrades gracefully. That if one of those elements fails, the site will still work, and work in a way that you can reasonably predict. That means starting with working HTML. Adding CSS, making sure it works and then adding javascript (or perhaps doing the JS first, if your site relies on it for a lot of things).

      If you start out coding JavaScript, the only way to be sure it keeps working is to test it every situation it might be used, and you can't test on browsers that haven't been released yet. That's why so many businesses are now stuck with IE6. Because the people that made their intranet software didn't feel like supporting some percentage of the market. It's not about support, it's about proper design.

    9. Re:Turn off javascript... by causality · · Score: 2, Insightful

      Whereas entitlement mentality regarding access to other people's content is fair game, right?

      Way to entirely miss the fact that I addressed this point. Really now, reading comprehension is important. You may laugh at me for saying that, but really it seems to be on the decline. I often feel on online forums, including those which are far less trollish than this one, that there are two versions of my posts: the one I actually wrote that says what it says and doesn't say what it doesn't say, and the fictitious one to which someone else is responding. Considering the quality of most public education, you were probably shortchanged in this department unless you enjoy reading on your own and can see it as a skill to be honed like any other. Unfortunately, few people are so actively and deliberately involved in their own advancement. If reading comprehension does not come easily for you, be assured that any reasonable effort necessary to achieve it is worthwhile.

      So, I did address the point. If you think I addressed this point in a faulty manner, feel free to explain where I erred and how my reasoning may be corrected. This is a concept known as constructive criticism, and its effects are twofold. First, it demonstrates that you really do have a superior point of view on which your objection is founded and that you are not just bitching, which is frankly what this looks like. Second, it shows why my view is inferior and needs to be abandoned and replaced by a better one, possibly yours.

      Pretending like I have not addressed this point, as you have done, only reveals a glaring weakness on your part. Such weaknesses are not found in people who have a solid foundation for their position. It's a shame to see such weakness from a person who could choose something better (that's you!).

      Should you decide that you have the decency and the fortitude to engage me on this subject, I'll help you out by revealing a premise behind my reasoning: I would never put content on the WWW, with no passwords or other restrictions, unless I wanted that content to be publically accessible by anyone who wants to download and view all or part of it in any way they please. To think otherwise is a total failure to understand the nature of the Internet. If the nature of the Internet doesn't suit me, including the freedom of users to control which content they download and how it is displayed, then it's my responsibility to find a medium which does suit me and publish my content there. It's quite simple.

      The mentality you just displayed is trivially deconstructed, as I have partially done here. It does concern me that individuals don't seem to put any effort into similarly evaluating their own ideas. You're probably just a troll, and don't think for a moment that this hasn't crossed my mind. I probably just wasted my time with you, and that's alright. I like the chance, however slim, that maybe you aren't and maybe I haven't. My bet is that I'll never see your response to this, but occasionally people do surprise me.

      --
      It is a miracle that curiosity survives formal education. - Einstein
    10. Re:Turn off javascript... by commodore64_love · · Score: 2, Interesting

      >>>But the 95% percent of people with functioning browsers might appreciate those features

      Nearly all those persons aren't even going to notice the difference between a Javascript dropdown menu and a CSS dropdown menu, so why bother with the larger JS version? I say follow the KISS principle - use CSS.

      >>>why do the people stuck in 1996

      That's not really the issue. Even today in 2009 there are people using slow dialup, satellite, or 500k DSL connections. You design your site so it loads quickly over these connections, instead of alienating your customers with 2-minute bloated pageloads.

      --
      "I disapprove of what you say, but I will defend to the death your right to say it." - historian Evelyn Beatrice Hall
    11. Re:Turn off javascript... by Decker-Mage · · Score: 2, Interesting

      I don't think you wasted your time as I quite agree that each party (server & content reader) has a right to only provide/accept according to their wishes. That is the defining characteristic of the Internet, not just the web. A great example is NNTP which is currently under fire as well since the puditocracy and politickians just don't get it.

      More to the point, as you've noticed, there is a definite lack of capability in the realm of critical thinking in the US, and it seems to be spreading. It wasn't even a requirement in our state's education system here unless you went to college and even then, judging from the papers turned in, the students still didn't get it. Not good. The ability to think critically is fundamental to being more than just another industrial society wage-slave. Furthermore, the Constitution was predicated on the notion that the voters would have that capability as well. I can hear a collective "whoops!" from the founding fathers, although I wouldn't be surprised that the political class likes the current status-quo. I don't see the situation changes short of revolution and that's about as likely as an asteroid stirke, perhaps less.

      --
      "[I]t is a wise man who admits the limits of his knowledge or skill, and that pretending either causes harm." --Terry Go
    12. Re:Turn off javascript... by causality · · Score: 2, Interesting
      Really I didn't intend for my response to be this lenghty. It just turned out that way.

      I don't think you wasted your time as I quite agree that each party (server & content reader) has a right to only provide/accept according to their wishes. That is the defining characteristic of the Internet, not just the web. A great example is NNTP which is currently under fire as well since the puditocracy and politickians just don't get it.

      True. The whole emotional outrage that anyone would block ads is easy to summarize. Webmaster goes out of his way to knowingly place content onto a public network where it is freely accessible by anyone. Said Webmaster does not use a paywall, nor does he deny content to users who don't load the ads. When said content is freely accessed, Webmaster then says, in effect, "now you owe me something, so view my ads!" and feels cheated if they aren't viewed. He wants compensation for a thing at the same time that he is giving it away freely. He also wants me to honor an agreement in which I did not participate. This is the Webmaster's fault.

      And that's alright; while I think it's silly, I also believe that website owners should be free to do this if they want to. I just refuse to be shamed or otherwise pressured into going along with someone else's faulty expectation. The need to try that on me is the red-flag indicator of the entitlement mentality I mentioned. It's the reason why I responded as I did, as most people who do this don't seem to realize that it's manipulative.

      This is especially true when said pressure comes from people who have invested in similarly faulty expectations of their own. Most people don't seem to use ad blockers and they are not standard features of most browsers. In other words, most users have chosen, not actively but by default, to give up their potential control, allowing the remote site full control of page layout. For that reason, many ad-supported public sites have been successful. They should be thankful that mitigating factors can help flawed premises to produce desirable conclusions instead of concerning themselves with how I configure my browser. Besides, they can put that effort towards reconfiguring their servers.

      More to the point, as you've noticed, there is a definite lack of capability in the realm of critical thinking in the US, and it seems to be spreading. It wasn't even a requirement in our state's education system here unless you went to college and even then, judging from the papers turned in, the students still didn't get it. Not good. The ability to think critically is fundamental to being more than just another industrial society wage-slave.

      I'm glad whenever I see that someone understands the severity and long-term outcome of this problem. That understanding is one of the single most effective things you can personally do about it. I imagine that if you didn't see the problem, the tone of my previous post wouldn't make sense and either that post or this one would seem like too much of a rant (eh, too late).

      I think "wage-slave" is a somewhat mild term. I'd go so far as to say "automaton forever deprived of the ability to live his own life." I've heard more cynical folks say that you can't miss something if you have never known what it was like, yet I've never met a person who could be described that way who was also happy. In a sense, the problem is hidden in plain sight. It's so widespread and so common that it is often accepted as normal.

      Furthermore, the Constitution was predicated on the notion that the voters would have that capability as well. I can hear a collective "whoops!" from the founding fathers, although I wouldn't be surprised that the political class likes the current status-quo.

      There's a bit more to it than that. If "political class" includes "19th century industrial tycoons" and their descendants, and there's no reason why it shoul

      --
      It is a miracle that curiosity survives formal education. - Einstein
  4. You can't be serious! by jeffliott · · Score: 4, Insightful

    I don't know anything about JavaScript or Firefox internals, but a public sounding central function call like "DOCUMENT.WRITE" having a length related buffer overflow is just unacceptable. This call is used all the time right? How could this be missed?

    1. Re:You can't be serious! by TopSpin · · Score: 2, Insightful

      This is my feeling as well. FYI: document.write is the JavaScript equivalent of write(2). It is used liberally in modern web content; I doubt there are any popular contemporary pages that don't use it.

      This code path should be impervious to any overflow exploit that might conceivably appear. Obviously document.write can and is used to exploit other more subtle flaws in a browser as it is capable of producing arbitrary document content, but that's not what we have here. Here we have long strings breaking document.write itself.

      Unacceptable. Fix it now. Sunday.

      --
      Lurking at the bottom of the gravity well, getting old
    2. Re:You can't be serious! by BZ · · Score: 5, Informative

      It's not a buffer overflow. It's a missing OOM check leading to a non-exploitable (well, if your kernel is sane; some Linux versions are not) null-dereference crash.

      Note also that the article linked to is misreporting this in other ways as well; unfortunately I'm not at liberty to go into details on that yet. :(

    3. Re:You can't be serious! by BZ · · Score: 5, Informative

      Ok, here's the full deal:

      1) The crash is not exploitable, for anyone who's been able to reproduce it so far.
      2) The crash is in system text-rendering libraries (which apparently don't check for
            out-of-memory much), not in Firefox code, for everyone who's been able to
            reproduce it so far.

  5. Many eyes makes for secure code by nacturation · · Score: 3, Insightful

    Let's just hope that all those eyes are friendly. How many black hats are scouring the source code to generate exploits to sell underground? As quickly as Firefox releases patches, when these bugs aren't reported it's no better than a proprietary browser.

    --
    Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    1. Re:Many eyes makes for secure code by dougisfunny · · Score: 2, Interesting

      Let's just hope that all those eyes are friendly. How many black hats are scouring the source code to generate exploits to sell underground? As quickly as Firefox releases patches, when these bugs aren't reported it's no better than a proprietary browser.

      Except that other people are a lot more likely to find the same bug, and report it regardless of the black hats.

      --
      This is not the funny you're looking for.
  6. Re:Just patch it and let's move on. by Anonymous Coward · · Score: 4, Insightful

    FTFA: The vulnerability was reported to SecurityFocus (BID 35707) on July 15.

    4 days > 24 hours.

  7. failed proof of concept by Anonymous Coward · · Score: 3, Informative

    It looks like the proof of concept only shows how this could lead to a stack overflow. There is no concept about how this could lead to code execution, which makes this just just another way to crash a browser.
    Crashing browsers is of course potentially a problem, but it quite boring while there are still so many ways to do real exploits.

    1. Re:failed proof of concept by BZ · · Score: 3, Informative

      > It looks like the proof of concept only shows how this could lead to a stack overflow

      It actually doesn't even show that, if you try running it under a debugger... It shows a null dereference due to lack of out-of-memory check on an allocation.

  8. fix: by Anonymous Coward · · Score: 5, Funny

    document.write = function(){ alert("This website was designed by a fucking idiot."); };

    1. Re:fix: by nacturation · · Score: 5, Funny

      I tried this using greasemonkey and wanted to thank you for it, but I had to switch to Internet Explorer to post the reply as for some reason Slashdot started bringing up a million alert boxes.

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
  9. Re:Just patch it and let's move on. by RichardJenkins · · Score: 2, Funny

    Well, obviously he meant 24 hours after it was posted on Slashdot. As we all know, it's not real until it's on Slahdot.

  10. Re:Defective by design by dave562 · · Score: 2
    Apparently some people missed the Defective by Design campaign and are completely unaware that it relates to DRM, not to arbitrary bugs.

    It's safe to say that the meme has been co-opted. It seems to pop up in a fair number of articles these days.

  11. Expect to see much more of this in the future.. by ickleberry · · Score: 2, Insightful

    .. as the horrible language that is JavaScript is extended ever more to try and emulate real desktop applications (and more pervasive advertising).

    Mang, sometimes I wish I could still get by with a browser that doesn't support JS at all, but web devs insist on building websites that absolutely require JS. For example the free SMS service for my mobile phone network (Meteor) absolutely won't work with JS disabled.

    1. Re:Expect to see much more of this in the future.. by Anonymous Coward · · Score: 2, Insightful

      I don't know why you hate web applications so much but I agree that Javascript is a horrible language. The specification is gigantic and the language is overcomplicated.

      Lua makes a much better Javascript than Javascript. Small, lightweight and fast. Besides the syntax differences Lua is otherwise semantically very similar to Javascript except with a much better design... and Lua does it with a minuscule language syntax and VM.

    2. Re:Expect to see much more of this in the future.. by xlotlu · · Score: 3, Insightful

      Whoever modded the parent as troll is a moron. Offtopic maybe, but not troll. Go ahead and mod me down too.

      The parent is right. I've had my paranoid period and tried NoScript; the web was so damn broken, and clicking to allow JS over and over again turned so tiresome that I turned to everything whitelisted by default, and finally uninstalled NoScript after the AdBlock fiasco.

      About how bad of a language JavaScript is or isn't: I personally like it, though I'd prefer Lua, or say, Python; but JS is here to stay and it serves its purpose. Except that purpose isn't replacing HTML, or turning HTTP into something it was never meant to be. Back when I was coding JS, we were doing it to improve the user experience, not replace it altogether. Nowadays "web developers" use [insert random JS framework] for everything, but the problem is so, so many use it in braindead ways. You middle click on a thumbnail expecting to open the image in a new tab, but you just get the same page with a nice # added at the end. And then there's the idiots doing <a href="javascript:">, and the utter idiots with an attitude that do onclick="submit_something_via_post" and figure out they know better how the web is supposed to work... These are usually the same idiots that will do broken browser detection based on the User-Agent string, and usually fail miserably if your browser sends along "Gecko", but not "Firefox". Say, something like "Iceweasel". For a nice example of how far this stupidity goes, try browsing VIA's site.

      You want to use XHR when clicking on a link? Or submitting a form? That's all fine and dandy, but don't break the web. It's becoming more and more like flash, with the sole difference you can view-source.

      If you're building Google Docs or Meebo, all hail JavaScript. But for mostly everything else, lack of graceful degradation with JS disabled is pure idiocy. Not just because there's paranoid people browsing with JS disabled, but because there's blind people using the web, and people with antiquated handhelds, or simply stuck in a console trying to fix nvidia's latest fuck-up. Of course, it would take building the site / web app properly from the bottom up: HTML, server interaction, CSS, JavaScript. But the "developers" these day start with YUI or Dojo: some shiny animation is the end purpose in on itself, not an improvement to conveying information.

      By the way: did you try GMail with JS disabled? It works. It probably works in lynx too, since it works in elinks just fine. That's the way JS is supposed to be used.

      </rant>

  12. Re:Defective by design by Anonymous Coward · · Score: 2, Informative

    Really? Taking a look at stories that have the defectivebydesign tag there are DRM stories as you point out. However, look at some of the stories in there:

    * Critical security hole in Linux Wi-Fi
    * Apple issues patches for 25 security holes
    * Very severe hole in Vista UAC design
    * Surprise, Windows listed as most secure OS
    * Vista worse for user efficiency than XP
    * Loophole in Windows random number generator
    * Remote exploit of Vista speech control
    * SP1 unsuccessful in preventing Vista hacks
    * Data loss bug in OS X 10.5 Leopard

    And so on. So yes, the majority of stories using the tag are DRM-related but there's an increasing usage towards general-purpose software bugs or exploits as shown by the articles I pointed out.

  13. Re:Defective by design by Goaway · · Score: 4, Insightful

    http://slashdot.org/tags/defectivebydesign

    Some stories tagged "defectivebydesign" that are not at all related to DRM:

    "Critical Security Hole in Linux Wi-Fi"
    "Apple Issues Patches For 25 Security Holes"
    ""Very Severe Hole" In Vista UAC Design"
    "MS Responds To Vista's Network / Audio Problems"
    "Apple's IPhone 3G Firmware Update Bombs"
    "QuickTime .MOV + Toshiba + Vista = BSOD"
    "Vista Slow To Copy, Delete Files"
    "Vista Runs Out of Memory While Copying Files"
    "Mark Russinovich On Vista Network Slowdown"
    "Microsoft Knew About Xbox 360 Damaging Discs"
    "Vista Not Playing Nice With FPS Games"

    That's as far as I can be bothered to read. Go look at it yourself. That tag is cheerfully applied to many, many stories about Windows or Apple bugs.

  14. Not just Firefox? by Norsefire · · Score: 4, Informative

    The proof of concept has crashed every browser I've tried it on; Firefox (obviously) (and the 3.6 nightly), Epiphany, Chromium, Opera and Android Browser. So is Firefox the only browser that is exploitable during the crash or other browsers affected?

    1. Re:Not just Firefox? by BZ · · Score: 3, Informative

      When I tried this, I see Firefox crashing with a null dereference. So not exploitable.

      Do you see something different?

    2. Re:Not just Firefox? by BZ · · Score: 2, Informative

      Well, the fact that SANS is blindly reposting known-unreliable things like milw0rm postins is something of an event, to me... Forgetting the fact that it tarnishes the reputations of whatever software they falsely accuse of being vulnerable, it leads to SANS being less reliable and less trusted. The whole crying wolf thing.

      But yeah, I agree that this "exploit" is nothing of the kind.

    3. Re:Not just Firefox? by Bacon+Bits · · Score: 2, Interesting

      It crashes FF 3.5.1 and Safari 4.0.2 for me, but not Chrome 2.0.172.37 or IE 8.

      --
      The road to tyranny has always been paved with claims of necessity.
  15. A: Firefox users by iYk6 · · Score: 4, Funny

    If you use firefox, then you are the moron using unbounded buffers.

  16. automate protection by Anonymous Coward · · Score: 4, Interesting

    These recurring requests to turn off something are getting annoying. Why not automate the process? Set up a page somewhere like
    www.mozilla.com/firefox/3.5.1/current-safety.txt

    which would list something like
    javascript: unsafe
    java: safe
    flash: safe

    Then by default your browser would fetch that file and automatically implement Mozilla's recommendation of the day.

    1. Re:automate protection by aidan+folkes · · Score: 2, Insightful

      which would list something like
      javascript: unsafe
      java: safe
      flash: safe

      going outside: unsafe

  17. Re:Is That What's Crashing Xorg? by Norsefire · · Score: 2, Insightful

    So because Firefox was open when it crashed, Firefox must have caused it? Couldn't be that because most people have their browser open 99% of the time chances are that it will be open when something goes wrong?

  18. No Javascript? No Firefox. by TheMCP · · Score: 2, Informative

    To say, for the contemporary web, "turn off javascript", is to say, "break everything". If I can't safely use the browser with Javascript, I can't safely use the browser.

  19. The code may not be that relevant by Sycraft-fu · · Score: 2, Interesting

    After all, FF is open during development, not just after release. 3.5 has been a long time in coming, the code has been out there for lots to see and lots have looked, yet this was missed.

    The thing is, open or closed, any major project has a lot of people looking at the code, and at least some of those people, perhaps most, are highly skilled. What this means is that it isn't likely there's an extremely obvious bug in the code. It isn't the sort of thing that someone would look at the source and go "Oh look they forgot to set getHacked = 0," or something like that. If it were obvious, the developers probably would have caught it. Instead the bugs are due to subtle interactions in teh code, that aren't easy to see.

    So, more often than not, the way these things get found isn't someone pouring over the code, it is someone trying out attacks on the finished product. They try sending it bad data of various kinds to see how it reacts, or perhaps they see it react in a certain way to good data that gives them an idea how they might craft bad data to exploit it. Whatever the case, they are working on the finished product, and not particularly concerned with the source.

    This is why you find bugs even in projects that many people are on, because developing something and looking at the code is real different from trying to exploit the finished product.

  20. Re:Defective by design by causality · · Score: 4, Insightful

    Apparently some people missed the Defective by Design campaign and are completely unaware that it relates to DRM, not to arbitrary bugs.

    The primary difference being that bugs like this Firefox flaw are accidental and unintentional, whereas DRM is quite deliberate hence the "defective by design" nomenclature. That's such a sharp contrast, it's reasonable to assume that someone who fails to notice it is either speaking of what they know nothing about or purposely trolling. In other words, "highly advanced incompetence is indistinguishable from malice."

    There were two ideas mentioned by GP, which were the "defective by design" label and the security reputation of IE. It's useful to know where those perceptions come from whether or not you actually agree with them. I'll make a very simplified (and therefore imperfect) summary of what I perceive as their bases.

    The only reason why I see such a concept as "defective by design" applied to IE is a vague one. IE (and Microsoft in general) has something of a history of implementing ideas that were predictably unsound, the most notorious of which is probably ActiveX. That's mostly because ideas which are computationally sound are often orthogonal to ideas which are most easily marketed. True to the nature of a corporation, whenever these two are in conflict, the marketing concerns will win. This is where that perception of closed-source (that is, commercial) software that the GP mentioned comes from.

    ActiveX is running untrusted code from a hostile network with no sandboxing and with the full privileges of the user running the browser. Before a single line of code is ever written to implement this, you can predict in advance that this is an unsound idea which invites trouble. Microsoft wrote the code and implemented the idea anyway. IMO that was a deliberate business decision because they felt the marketing and promotion of $SHINY_FEATURE would gain them more than they would lose from the PR problems of security issues. Because of how ignorant the general public tends to be about computer security, such decision-making has been largely successful. In other words, the people at Microsoft are not a bunch of idiots who didn't know what they were dealing with. They knew and they made their decision. Still, it's better to call that "faulty design" and "poor priorities" than to hijack a very specific term like "defective by design."

    --
    It is a miracle that curiosity survives formal education. - Einstein
  21. Re:That's notthe first time by BZ · · Score: 4, Informative

    Have you tried the POC? Ideally under a debugger? It's a null-dereference crash due to failure to check an allocation for out-of-memory conditions. It's not exploitable, as far as I can see. And it's not a stack buffer overflow, by any means.

    It'd be nice if these various security advisory services actually double-checked milw0rm postings before echoing them. Half the ones I've seen are in fact crashes, but not the sort the poster claims and not exploitable....

  22. Re:Defective by design by causality · · Score: 4, Insightful

    That's as far as I can be bothered to read. Go look at it yourself. That tag is cheerfully applied to many, many stories about Windows or Apple bugs.

    ... by people who fail to understand the difference between "design flaw" and "implementation flaw."

    A simple heuristic: if you can submit a well-written bug report and at least an attempt is made to fix the issue, it's probably not a design flaw.

    --
    It is a miracle that curiosity survives formal education. - Einstein
  23. Re:That's notthe first time by ciroknight · · Score: 3, Interesting

    Fix once, fix forever

    The bug is in the Just-in-Time compiler inside of SpiderMonkey (TraceMonkey). This is brand new code as of 3.5.x. Of course there will be a ton of bugs found in it (just like the ton of bugs that have cropped up in SquirrelFish and have been subsequently patched).

    I have to wonder why it's taken so long for anybody's security team to look at this code though. You'd think they'd look at this code before release and not after.

    --
    "Victory means exit strategy, and it's important for the President to explain to us what the exit strategy is." G.W.Bush
  24. Re:That's notthe first time by Inda · · Score: 2, Informative

    Worse POC evar

    -----

    <html>
    <head>
    <script language="JavaScript" type="Text/Javascript">
    var str = unescape("%u4141%u4141");
    var str2 = unescape("%u0000%u0000");
    var finalstr2 = mul8(str2, 49000000);
    var finalstr = mul8(str, 21000000);


    document.write(finalstr2);
    document.write(finalstr);

    function mul8 (str, num) {
    var i = Math.ceil(Math.log(num) / Math.LN2),
    res = str;
    do {
    res += res;
    } while (0 < --i);
    return res.slice(0, str.length * num);
    }
    </script>
    </head>
    <body>
    </body>
    </html>
    <html><body></body></html>

    --
    This post contains benzene, nitrosamines, formaldehyde and hydrogen cyanide.
  25. Firefox sucks by isa-kuruption · · Score: 5, Funny

    This is the reason why I avoid crappy software like Firefox and stick to MSIE! Firefox is riddled with bad, bloated code making it easily subjectable to these types of attacks. On top of that, the development model allows mistakes like this to get into the codebase without proper quality assurance.

    If I have to /sarcasm, I will kill you.

  26. Firefox Vulnerability by DaveV1.0 · · Score: 2, Funny

    But, but, but, that's unpossible!

    --
    There is no "-1 offended" or "-1 you don't agree with me" mod options for a reason.
  27. Run Linux Firefox with AppArmor by dtschmitz · · Score: 2, Informative

    Folks, Noscript will catch most Javascript exploits, but you should have a 'catch net'. AppArmor provides a 'sandbox' around any process you want. Firefox is a good example that I have written a how-to for creating an AppArmor Profile in Ubuntu 9.0.4 Read my blog here Be Safe. Dietrich T. Schmitz

  28. Re:That's notthe first time by e9th · · Score: 2, Interesting

    Remember the Debian SSH debacle? Some guy wanted to stop valgrind's whining about uninitialized memory in the SSL key generator, so he helpfully zeroed the buffer in question. Valgrind stopped complaining, but his fix also reduced the entropy used in key generation down to about nothing. For two years, people were generating very weak key-pairs.

    I'm not saying valgrind, etc. are bad, only that sometimes they can be misleading.

  29. Re:NoScript by Fnord666 · · Score: 2, Funny

    you can enable JavaScript for just the source domains you trust (e.g. Facebook), ...

    You did not just say that. Tell me you did not just say that.

    --
    'The tyrant will always find pretext for his tyranny.' - Aesop's Fables
  30. Re:NoScript by metamatic · · Score: 2, Funny

    I'm not aware of any malware having been launched from facebook.com.

    --
    GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
  31. Re:That's notthe first time by Anders · · Score: 2, Informative

    I have to wonder why it's taken so long for anybody's security team to look at this code though. You'd think they'd look at this code before release and not after.

    Announcing defects in beta software doesn't get you noticed.

  32. bug misreported, not exploitable, not a stack over by Mike+Shaver · · Score: 2, Informative

    See http://blog.mozilla.com/security/2009/07/19/milw0rm-9158-stack-overflow-crash-not-exploitable-cve-2009-2479/ for more details, including specifics about how the bug affects different platforms and versions (worst case: unexploitable crash in OS X system libraries).

  33. not exploitable by asa · · Score: 4, Informative

    See what Mozilla has to say: http://blog.mozilla.com/security/2009/07/19/milw0rm-9158-stack-overflow-crash-not-exploitable-cve-2009-2479/ In the last few days, there have been several reports (including one via SANS) of a bug in Firefox related to handling of certain very long Unicode strings. While these strings can result in crashes of some versions of Firefox, the reports by press and various security agencies have incorrectly indicated that this is an exploitable bug. Our analysis indicates that it is not, and we have seen no example of exploitability. On Windows, Firefox 3.0.x is terminated due to an uncaught exception during an attempt to allocate a very large string buffer; this termination is safe and immediate, and does not permit the execution of attacker code. In Firefox 3.5.x on Windows, the allocations are more robustly checked and no crash will result. On the Macintosh in Firefox 3.0.x and 3.5.x, a crash occurs inside the ATSUI system library (part of OS X), due to what appears to be a failure to check allocation results. This issue is likely to affect any application using the recommended text-handling libraries on OS X. We have reported this issue to Apple, but in the event that they do not provide a fix we will look to implement mitigations in Mozilla code. We recommend that other developers who use these libraries consider a similar practice, and we have added mitigations in the past for similar bugs in these libraries. As a result of our analysis, we do not believe that this represents an exploitable vulnerability in Firefox. Further, we believe that the IBM report is in error, and that the severity rating in the National Vulnerability Database report is incorrect. We have contacted them and hope to resolve the inaccuracies shortly.