Slashdot Mirror


IE 7.0/8.0b Code Execution 0-Day Released

SecureThroughObscure writes "Security blogger and researcher Nate McFeters blogged about a 0-day exploit affecting IE7 and IE8 beta on XP that was released by noted security researcher Aviv Raff. The flaw is a 'cross-zone scripting' flaw that takes advantage of the fact that printing HTML web pages occurs in the Local Machine Zone in IE rather than in the Internet Zone. Quoting McFeters's post: 'This is currently unpatched and in all of its 0-day glory, so for the time being, beware printing using the "print table of links" option when printing web pages.' McFeters and others will be presenting at Black Hat on the link between cross-site scripting and cross-zone. Rob Carter has been hitting this hard over at his blog, pointing out cross-zone weaknesses in Azureus, uTorrent, and the Eclipse platform."

30 of 131 comments (clear)

  1. 0-day by Anonymous Coward · · Score: 5, Insightful

    0-day? This term seems to have lots all meaning. Could we please stop using it?

    1. Re:0-day by Fast+Thick+Pants · · Score: 5, Informative

      Zero is the answer to the question "How long has the vulnerability that this exploit exploits been patched?" I suppose you could call it a -24 since it probably won't be patched until next month's black Tuesday.

    2. Re:0-day by tyler.willard · · Score: 5, Informative

      That's what the term seems to have mutated into, but it wasn't its original intent.

      The whole point of coining the term in the first place was to be able to discuss the unknown; i.e., to be able to assess the potential danger of currently unknown threats. Day-1 refers to disclosure, as such there's no way to talk about a specific 0-day because if you know what it is than it has to at least be day-1.

      Sure it's abstract, but it's an important concept for developing security technologies and security procedures.

      Between product buzzwords and the abstract nature of the term it's almost lost all meaning.

    3. Re:0-day by Lincolnshire+Poacher · · Score: 5, Informative

      > The whole "day thing" is about the time between disclosure and patch/signature release.

      Do you have any citation for your assertion?

      The term derives from warez "0-day boards". These were populated by the most elite crackers who had cracked software on the 0th-day of release; that is, the software hit the shelves and was already cracked.

      Try doing a web search for ``0-day'' with a date threshold prior to, say, 1995. You won't find any hits for your interpretation:

      http://www.alltheweb.com/search?advanced=1&cat=web&jsact=&_stype=norm&type=all&q=%220-day%22&itag=crv&l=en&ics=utf-8&cs=iso88591&wf%5Bn%5D=3&wf%5B0%5D%5Br%5D=%2B&wf%5B0%5D%5Bq%5D=&wf%5B0%5D%5Bw%5D=&wf%5B1%5D%5Br%5D=%2B&wf%5B1%5D%5Bq%5D=&wf%5B1%5D%5Bw%5D=&wf%5B2%5D%5Br%5D=-&wf%5B2%5D%5Bq%5D=&wf%5B2%5D%5Bw%5D=&dincl=&dexcl=&geo=&doctype=&dfr%5Bu%5D=on&dfr%5Bd%5D=1&dfr%5Bm%5D=1&dfr%5By%5D=1990&dto%5Bu%5D=on&dto%5Bd%5D=16&dto%5Bm%5D=5&dto%5By%5D=1995&hits=10

      Try USENET for certainty ( blocked in work ).

    4. Re:0-day by An+ominous+Cow+art · · Score: 4, Funny

      Yeah, the term has definitely been bricked.

  2. A Disturbing Trend, But Not Unforeseen... by blcamp · · Score: 4, Insightful


    The more complex the software releases become, the more complex and insidious the exploits of them become also.

    --
    The problem with socialism is that they always run out of other people's money. - Margaret Thatcher
  3. Amazing by duplicate-nickname · · Score: 5, Funny

    I didn't even know that "Print table of links" was an option for printing in IE until today. My guess is that no one actually uses that feature, and this 0-day exploit affects roughly 0 people.

    --

    ÕÕ

    1. Re:Amazing by CastrTroy · · Score: 4, Insightful

      Even if you did know about the feature, I'm not sure of it's usefulness. Saveing a spreadsheet of links might be useful, but printing them out? Most URLSs are pretty hard to type back in, and wouldn't be all that useful on paper. Look at the url I'm no right now.

      http://it.slashdot.org/comments.pl?sid=555236&op=Reply&threshold=1&commentsort=0&mode=nested&pid=23432544

      Why you would want that printed out on a piece of paper is beyond me. It might possibly somewhat work on a PDF printer, but even then, it's use is limited.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    2. Re:Amazing by Anonymous Coward · · Score: 5, Funny

      You're forgetting about another MSIE feature, a TWAIN plugin called "Scan table of links".

  4. Proof by morgan_greywolf · · Score: 5, Insightful

    This is proof of what I've said from the beginning -- the whole concept 'zones' in IE is stupid and pointless. Scripts should be allowed only what you allow them, period. You should be able to give permissions down to the individual site (ala NoScript) or even down to the individual script.

    1. Re:Proof by ScentCone · · Score: 4, Insightful

      You should be able to give permissions down to the individual site (ala NoScript) or even down to the individual script.

      Look, for most people, the zone idea actually makes sense. Basically, don't trust ANY web site to do the tricksy stuff, but add (for example) your company's intranet to the safe zone, where it can do more desktop-ish stuff. I don't think that's such an awkward concept, and it spares people from having to think through what to allow, or not, on a site by site basis, as they surf. Most people are not this audience. And being able to enforce zone policies at the enterprise level makes a lot of sense, since average users are routinely shown to be spineless and witless: they'll add a poisonous Russian casino spam site to the safe list if that site pops up a tutorial on the steps the have to take to do so, if they want their free emoticon package.

      Fiddly, granular systems only work for fiddly, granular people.

      --
      Don't disappoint your bird dog. Go to the range.
    2. Re:Proof by morgan_greywolf · · Score: 4, Insightful

      Pffft. So tell me-- why when I browse a site in the "Internet-zone" and then print a table of links, does that function run in the 'Local Zone'?

      I'll tell you why: because it has to. You can't access local devices in the Internet Zone. That's the point. Granular approaches would allow you to print without accidentally giving other permissions to something that shouldn't have them.

      At the enterprise level, with something like NoScript, you can just allow entire domains, say intranet.example.com or whatever your organization uses.

      Next thing you're gonna tell me is that you think Microsoft should do away with ACLs at the individual file level or even the directory because users are just too stupid to figure that out. They should just have "file zones" and people will just have to stick their files in the right zone. Pffft.

    3. Re:Proof by Manip · · Score: 3, Insightful

      IE or any other modern browser on the market.

      You would also have every web developer in the marketplace whining about how IE ignores standards if they pulled the plug on scripting.

      Sorry but Zoning in IE is fine. IE 7 is actually a pretty good modern browser and, sure, it isn't perfect but frankly what is?

    4. Re:Proof by myxiplx · · Score: 3, Informative

      I disagree, zones are great, I just wish they'd implemented them better. We use zones as a quick way to enforce across the whole organisation which sites can and can't run scripts. The concept is superb, regular sites can't run scripts, activex, or anything. IT designated 'trusted' sites work fine.

      Unfortunately, IE7 has made things a little more difficult:

      - Pages with content from various zones no longer show up as 'mixed'. Since the upgrade to IE7, all sites only show the zone of the main URL, however the content runs according to the security zone for it's own source. It makes it almost impossible to work out whether a site can or can't run scripts, and you end up digging into the pages source code to work out what sites need adding to the trusted zones to get pages to work.

      - Dynamic scripts added to a page in the 'trusted' zone, execute from the 'internet' zone. This is "by design"... The only workaround is to change the way the code works on the server.

      - If you want to lock down the 'internet' zone, you will need to add "about:internet" to your 'trusted' zone

      - You will also need to add res://ieframe.dll to your 'trusted' zone

    5. Re:Proof by Penguinisto · · Score: 4, Insightful
      Having actually used the 'Zones' concept recently on IE, I gotta say - it needs work. LOTS of work. The first time someone wants to diddle with a MySpace app and discovers that it won't work until you basically ratchet down the settings --often by hand in the advanced options--? Then couple that with the fact that many websites can pull in parts and content from multiple domains, requiring permissions to be set on each and every one? The whole thing would go out the window and the user would promptly ratchet down the whole WWW.

      The concept itself is okay, but the implementation could use a good, solid overhaul.

      /P

      --
      Quo usque tandem abutere, Nimbus, patientia nostra?
    6. Re:Proof by CastrTroy · · Score: 4, Insightful

      And for IE the defaults allow special permissions to your entire intranet. By default all the permissions should be low. There's no reason to grant higher permissions to the entire intranet. If you need something like that set up at your organization, you should have to enable it per server, or per domain.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    7. Re:Proof by keytoe · · Score: 3, Funny

      Your markup is incorrect - you left the slash off your closing Pffft. tag.

    8. Re:Proof by knarf · · Score: 3, Insightful

      While it may be true (and it *better be true*) that untrusted zones can not directly touch local devices the question still remains why there is any processing being done on data from a lower-trust zone *inside* a higher-trust zone. That is the wrong approach. Had they formatted the document to be printed inside the lower-trust zone and handed a formatted document to the higher-trust zone (in whatever format is used to print documents: metafile, postscript, etc) to be printed this problem would not have occurred. That is, given that the print spooler does not goof up with the data to be printed of course...

      --
      --frank[at]unternet.org
  5. Usage by Wowsers · · Score: 5, Funny

    People still use Internet Exploder?

    --
    Take Nobody's Word For It.
  6. For using IE since 2.X... by AioKits · · Score: 3, Funny

    I can safely say I did not know this ability even existed. (Don't hurt me! I use FireFox at home! Honest! I even brought some FF t-shirts and the laptop tote.)

    --
    "Quote me as saying I was mis-quoted." -Groucho Marx
  7. Irresponsible disclosure by benjymouse · · Score: 4, Interesting

    The vuln. is probably real, but Aviv Raff notified Microsoft the day before he went public with a "treasure hunt" for this bug (celebrating Isreals 60th birthday); thus the fact that it's a 0day vuln. is entirely his doing. Way to go.

    --
    Reading slashdot one-liner: (irm http://rss.slashdot.org/Slashdot/slashdot).rdf.item | fl title,desc*
    1. Re:Irresponsible disclosure by reset_button · · Score: 4, Insightful

      Is it better to keep it secret until a patch comes out and hope that nobody else has discovered the vulnerability, or publicize it and let people know not to use this IE feature until it's patched?

    2. Re:Irresponsible disclosure by benjymouse · · Score: 3, Insightful

      In a word? Yes. Ask Mozilla.

      --
      Reading slashdot one-liner: (irm http://rss.slashdot.org/Slashdot/slashdot).rdf.item | fl title,desc*
  8. Can it be triggered via javascript? by foniksonik · · Score: 4, Interesting

    Can you trigger this behavior in an onload event?

    If not it's a rather useless exploit other than as a prank to pull on your secretary... "Hey Sandra... can you print out a table of links for this website?"

    5 minutes later "What the F***!"

    "HAHAHAHAHAHAHA... I totally got you!"

    --
    A fool throws a stone into a well and a thousand sages can not remove it.
    1. Re:Can it be triggered via javascript? by ruiner13 · · Score: 4, Informative

      You can certainly trigger the window.print() command in the onload, but setting the properties of the dialog to what is needed for this exploit cannot be done. VBScript may allow further printing options, but I suspect the page would first trigger the standard scripting warnings and the user would still be forced to intervene.

      --

      today is spelling optional day.

  9. To view this article on one page... by Thelasko · · Score: 5, Funny

    please select the printable version.

    end sarcasm

    --
    One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
  10. Re:Must we highlight every bug in IE? by makomk · · Score: 5, Informative

    The Debian OpenSSL bug definitely made the Slashdot home page; you must've missed it. (It was posted on Tuesday, a couple of hours after the official announcement - that's quite fast for Slashdot. This story, on the other hand, obviously wasn't considered as important - I read about it elsewhere a day or two ago.)

  11. Re:Must we highlight every bug in IE? by dissy · · Score: 3, Informative

    In contrast, a far more dangerous bug [debian.org] in the openssl package used by Debian and its derivatives was discovered earlier this week, and doesn't seem to have made the Slashdot home page at all, even though it's probably relevant to a lot of the Slashdot readership and there is real action they can take to fix things. Go figure... It was on the slashdot front page on Tuesday

    http://it.slashdot.org/article.pl?sid=08/05/13/1533212

  12. No by The+MAZZTer · · Score: 4, Informative

    The best you can do is window.print() to bring up the Print dialog. The user would have to select the "Print table of links" option manually and then print to any printer.

  13. Oh yeah? by Spy+der+Mann · · Score: 3, Funny

    yes, I use Internet Explorer in Windows Vista that is the safest browser because it runs with the lowest privileges possibile in a sandbox (IE7 Protected mode).


    Oh yeah? I use Internet Explorer in XP under non-admin mode in a virtualbox install on Cygwin on a virtualbox install of XP inside a Linux virtualbox install under a SELinux host!

    HAH! Take that!