Slashdot Mirror


Hackers claim zero-day flaw in Firefox

An anonymous reader writes "The open-source Firefox Web browser is critically flawed in the way it handles JavaScript, two hackers said Saturday afternoon. An attacker could commandeer a computer running the browser simply by crafting a Web page that contains some malicious JavaScript code, Mischa Spiegelmock and Andrew Wbeelsoi said in a presentation at the ToorCon hacker conference here."

3 of 398 comments (clear)

  1. IRC by Anonymous Coward · · Score: 5, Informative

    have you guys heard about the supposed vuln in firefox disclosed at toorcon today?
    <Ryan> "Firefox re-entrant threading"?
    <reed> http://www.toorcon.org/2006/conference.html?id=13
    <Jesse_> yeah, that one
    <reed> Jesse_: Did you go to that particular one?
    <Jesse_> yes
    <Jesse_> i also went up on stage to "debate" "disclosure" with them
    <Jesse_> when i said "debate" "disclosure", i didn't mean the usual "how much time should security researchers give vendors to write and deploy patches before making the holes or exploits public" debate
    <Jesse_> these guys were *against* disclosure
    <Jesse_> preferring to keep the status quo of lots of vulnerabilities, large botnets (so they can be anonymous), etc. or maybe they were joking, it was hard to tell.
    <Jesse_> they claim they can make $10,000 or $20,000 selling a vuln in firefox
    <Jesse_> compared to $500 telling us about it
    <Jesse_> selling to other blackhats, anonymously, using onion networks, of course
    <dveditz> TippingPoint and iDEFENSE will pay up to $10K for IE and probably firefox vulns

    . . .

    <jX> http://news.com.com/Hackers+claim+zero-day+flaw+in +Firefox/2100-1002_3-6121608.html
    <jX> "...what we're doing is really for the greater good of the Internet, we're setting up communication networks for black hats," How exactly is that for the greater GOOD?
    <dveditz> the black hats crusade for our freedom (and credit cards) against the evil fascist empire
    <dveditz> they *earn* everything they steal by doing all the good they do keeping "the man" from owning the internet

    . . .

    <Jesse_> http://news.com.com/Hackers+claim+zero-day+flaw+in +Firefox/2100-1002_3-6121608.html quotes me out of context in a way that makes it look like i'm trying to bribe them with $500 bug bounties :(
    <zach> Jesse_: they dragged you up on stage during their talk?
    <jX> Jesse_: Yeah, doesn't reallyt make anyone look good, that article..
    <Jesse_> "I do hope you guys change your minds and decide to report the holes to us and take away $500 per vulnerability instead of using them for botnets" is pretty close to the BEGINNING of a sentence i said
    <Jesse_> the REST of the sentence was " or selling them to other blackhats for ten thousand dollars"
    <Jesse_> with the whole sentence, it's clear that i'm hoping they'll change for ethical reasons, and that i'm not trying to bribe them
    <jX> Jesse_: Yeah, but quoting you out of context makes for better copy.
    <zach> Jesse_: did they actually drag you on stage during their talk as the article suggusts?
    <Jesse_> zach: they left a lot of time after their slides, and asked me to come up
    <Jesse_> zach: they told me before the talk that they might ask me to come up
    <Jesse_> dveditz: yeah, about 20 minutes before

  2. Re:Good policies will often save you. by Vo0k · · Score: 5, Informative

    Sandboxing the whole thing will help against system takeovers, but not against frauds within the browser - cross site scripting etc.

    Running a sandboxed version of a scripting language within a browser should be pretty harmless if the language was available only in the sandbox and couldn't touch anything outside. Creating separate sandboxes for each website would prevent cross site scripting too.

    The problem is it's impossible with Firefox. It's a very old design decision that is so deep all over the place that nothing short of redesigning and rewriting everything from scratch could help.

    Essentially, Firefox is written in javascript.

    There are underlying frameworks written in C++ and others, the renderer engine etc etc. But the glue that binds all these functions together is Javascript on steroids. XUL files-databases that define the looks of the UI, XUL renderer, which displays them, and thousands of lines of javascript bound to every single gadget, button, field, box, dialog. This javascript performs all the basic processing and the whole high-level work of the browser program. And it calls system/framework functions to perform the low-level work - which is strictly forbidden for a sandboxed language.

    Developers of Mozilla try to prevent access to all this low-level heavyweight stuff from javascript originating from webpages while allowing it from the system files. Sandbox javascript from one source, run javascript from the other source at full privledges all the time. Can you smell how fragile this is? I'm afraid these exploits will keep popping up. There's no natural barrier of "contained sandbox environment + scripting language" vs "low-level system layer", with no trace of bindings to the system layer within the sandbox, no hook, no crack to exploit by interfacing with the outside. There's an artificial wall which limits "javascript from webpages" and allows "extended javascript from interface", where both sides are essentially the same thing.

    This is the old firewalling problem - policy of "deny all, allow essential" vs "allow all, block dangerous". Except currently there is no easy way to switch from one to the other.

    --
    Anagram("United States of America") == "Dine out, taste a Mac, fries"
  3. No-Script by Ice+Wewe · · Score: 5, Informative
    ...An attacker could commandeer a computer running the browser simply by crafting a Web page that contains some malicious JavaScript code...

    Which is why it's smart to run NoScript. A Firefox extention that blocks the execution of any scripts on a webpage without user concent. So, if you're tired of Javascript taking over your Firefox, get NoScript.

    https://addons.mozilla.org/firefox/722/