Slashdot Mirror


MSN, Word Vulnerable To Shell: URI Exploit

LnxAddct writes "InfoWorld is reporting that a few Microsoft products are also vulnerable to the "shell:" scheme vulnerability found in Mozilla last week. These applications include Microsoft Word and MSN Messenger."

23 of 392 comments (clear)

  1. Word 2004 for OSX Safe? by artlu · · Score: 4, Interesting

    Anyone know if Word 2004 for OSX is safe from the URI exploit? I know that the macs have been having trouble with the URI exploit over the past few months based on some articles I've read at macslash.
    Aj

    GroupShares Inc. - A Free and Interactive Stock Market Community

    --
    -------
    artlu.net
    1. Re:Word 2004 for OSX Safe? by argent · · Score: 2, Interesting

      The problem in Mac OS X wasn't fixed. Only the particular symptom of it that produced the disk: and help: vulnerabilities. The underlying design flaw, that of having a single set of protocol and application bindings for both trusted and untrusted objects, still exists in both Windows and Mac OS X.

      This has been the biggest continuing problem with Windows security for most of the past decade, and I'm sick of it.

  2. Can only allow programs to be run... by NightWulf · · Score: 4, Interesting

    According to the article "Malicious hackers could launch programs associated with specific extensions using links embedded in Word documents or instant messages sent using MSN. However, the vulnerability does not allow attackers to pass instructions to the programs..." Now call me crazy, and I know i'll probably piss off the microsoft hating people here, but what harm is there really? What's some "hacker" gonna do, open up Acdsee and show my porn collection to well...me? Maybe pop open a few dozen IE windows or programs to force me to reboot? If there's nothing else being transferred it's really just more of a nuisance than something major. Or am I just reading this wrong?

    1. Re:Can only allow programs to be run... by TiggertheMad · · Score: 2, Interesting

      The article is rather vague on this point. The could mean that Hackers cannot pass command line parameters to the programs, which would probably make the bug more of a nusance. OTOH, they could mean that once started, they cannot interface with the text window/GUI. This would be a big deal to me, because as I mentioned, it might allow them to pass command line parameters when starting it.

      For example, FORMAT c: \Y or something similar to bypass the fail-safe that the FORMAT command had?

      --

      HA! I just wasted some of your bandwidth with a frivolous sig!
  3. Now we know. by azuretongue · · Score: 2, Interesting

    Now we know wether the shell scheme bug was in the OS or the application :)

  4. Misinformation... by Dwonis · · Score: 4, Interesting
    "We continue to encourage responsible disclosure of vulnerabilities. We believe the commonly accepted practice of reporting vulnerabilities directly to a vendor serves everyone's best interests, by helping to ensure that customers receive comprehensive, high-quality patches for security vulnerabilities with no exposure to malicious attackers while the update is being developed," the company said in an e-mail statement.

    (Score: -1, Troll)

    I find it interesting how they talk about "no exposure to malicious attackers", as if their products are magically invulnerable until someone discloses the hole to the public.

  5. In Microsoft's Defense... by SnprBoB86 · · Score: 5, Interesting

    (that subject is a great way to get modded down)

    I created a shell link inside Office Word 2003 and when I clicked it I was warned that the hyperlink contained a potentially dangerous target and that I should only proceed if I trusted the source of the document. This warning does not appear for http, https, ftp, or other common "safe" protocols.

    I do not have MSN available for testing.

    --
    http://brandonbloom.name
  6. Re:Fixed in SR2? by ROOK*CA · · Score: 1, Interesting

    Thanks for the correction guys, very informative as well....

    I guess it would be more accurate to say that Mozilla corrected the vulnerability quickly after it was WIDELY publicized.

    Just goes to show ya the Bugzilla scholars DO add value ;-) ...

  7. Run as a separate user! by qseep · · Score: 5, Interesting

    It seems logical that the solution to many of these browser exploits is to run the browser with a separate set of OS permissions, i.e. as a separate user. This could be done using setuid under Unix. I don't know how it's accomplished on Windows.

    The special user would have greatly reduced permissions, which would prevent these exploits from being useful. This user could not execute anything but designated plugins, and could not save files except to a designated area.

    Why has this not been tried?

  8. Re:Mozilla Bug 163767 by Sweetshark · · Score: 4, Interesting

    Maybe someone should check to see if IE has this "bug" as well.
    Thats very probable since this is more a "metabug" in Windows - that might get fixed in SP2.
    So, perhaps Mozilla should have "bug fixes" for every windows flaw that they uncover?
    No. They should just disable unsecure stuff by default. Thats one of the strong points of Mozilla. They did write code at some point that passes some unfiltered, unchecked data from the web on to some external handler. That action is shouting "security hazard" all the way ....
    Wouldn't that introduce quite a bit of bloat?
    If you are fighting bloat, Moz shouldnt include this "feature" at all. But if someone writes code for this (rarely useful, but dangerous) feature, you better disable it by default.

  9. Re:The War by MisanthropicProgram · · Score: 2, Interesting
    I find it interesting watching moderation of posts like yours: it goes from Troll...to Funny...to Troll... to ???
    Different moderators - different tastes.

    You know what? If I had a really hard programming assignment and no books to read up on it, I would go to an Open Source Project to see how they did it. Call me whatever you like. But if my job and my livelyhood were on the line, I don't know what I would do....

  10. Re:Fixed in SR2? by prockcore · · Score: 4, Interesting

    The origional bug relating to handing off unhandled URI's to the OS goes back that far. It kept getting marked as "will not fix" because it was a stupid architectural decision that some of the guys at Netscape made.

    It was hardly a stupid decision. Passing unhandled URIs to the OS is a perfectly acceptable thing to do. Unless you think that handling things like ed2k: URIs and other yet-to-be-invented URIs is a bad thing.

    Perhaps the URI handler built into the OS needs a local versus foreign flag..

  11. Re:Misleading title - "...Mozilla flaw" by tonyr60 · · Score: 4, Interesting

    How about this one...
    http://secunia.com/advisories/12043/

    It starts out as a "Sun Java Predictable File Location Weakness"

    Then, further down in the advisory....

    A PoC (Proof of Concept) exploit has been published, which:

    1) Uses the weakness in Sun Java to create a temporary file.

    2) Exploits a file enumeration vulnerability to find the name of the temporary file (100,000 possible combinations).
    SA10820

    3) Exploits a Cross-Zone vulnerability and uses the inherently insecure Windows "shell:" functionality:
    SA11793

    Solution:
    Use another browser than Microsoft Internet Explorer.

    Alternatively disable Active Scripting in Internet Explorer.

    If you do not use Internet Explorer, this issue is not considered a security problem.

  12. Re:Ready...set...GO by TrancePhreak · · Score: 3, Interesting

    Or there's the reality, that it has been fixed for along while back and is only found in older versions of the software.

    --

    -]Phreak Out[-
  13. Re:Fixed in SR2? by Anonymous Coward · · Score: 1, Interesting

    Jesus, would you stop quoting that fucking bug report. When it came out as a security exploit, they fixed it within a few days. Whoopdeshit, the bug report was filed in 2002 when it was a concept and not a bug. Dipshit

  14. Re:What other programs are vulnerable? by jc42 · · Score: 2, Interesting

    Well, considering that a number of Microsoft people had already gone public with the "It's not our problem; it's Mozilla's problem", I'd think that the obvious answer is that Microsoft's management was already very much aware of the problem. Pointing out that MS products have the same vulnerability is an obvious (if somewhat in-your-face) way to shoot down their FUD.

    And, let's face it, they were using this as an opportunity to squelch the recent rash of switches from IE to Mozilla. They deserve to be hit fast and hard for such tactics.

    (Not that the Mozilla people are totally innocent here. Even if you agree that it's a Windows bug, it's clear now that Mozilla could very easily catch it and pop up a warning window. That would have taken less time than was apparently spent discussing the issue and deciding to not deal with it right away.)

    --
    Those who do study history are doomed to stand helplessly by while everyone else repeats it.
  15. Shell - it's USEFUL in Word by Tsu+Dho+Nimh · · Score: 2, Interesting

    Considering that Word's macros might need to launch another app, by means of the Shell command, it's a feature, not a bug. I've used it frequently in macros. It became a vulnerability when Word was made "Internet aware" and started logging onto the net at every opportunity.

  16. Hmm, ShellExecute() the problem? by mattgreen · · Score: 4, Interesting

    I suspect a great many apps have (until recently) just blithely passed commands that have user input into ShellExecute(). Obviously, you can't do that, a fairly clever user can figure out how to get someone else to run a command on their system without their explicit consent. Note that MSDN doesn't mention anything about the possible security implications of it, which is why MS is being blindsided by it. Now, a ton of apps use ShellExecute(), it is the recommended way to launch the correct web browser on a user's system. What I did in my app was before calling ShellExecute(), extract the protocol and compare it against a whitelist of allowed protocols. In my case, I only allowed http, https, mailto, and ftp. If it wasn't one of those four, I just didn't do anything.

  17. Mozilla is Slow to Respond! by Nintendork · · Score: 2, Interesting
    The bug I submitted was marked as "Major" due to the security implications. I submitted it in early Nov. of last year. After 24 days of finger pointing and name calling towards Redmond, someone finally admitted it's a bug. The problem still isn't fixed. It gets the occasional comment and that's about it.

    I'm sorry, but if it takes 24 days to get past the name calling when confronted with a security flaw deemed major, OSS doesn't stand a chance.

    -Lucas

    1. Re:Mozilla is Slow to Respond! by whereiswaldo · · Score: 3, Interesting

      The bug I submitted was marked as "Major" due to the security implications. I submitted it in early Nov. of last year. After 24 days of finger pointing and name calling towards Redmond, someone finally admitted it's a bug. The problem still isn't fixed. It gets the occasional comment and that's about it.

      Finger pointing? Name calling towards Redmond? You are _severely_ misrepresenting this bug.
      (to those curious: please read the bug info for yourself!)

      I'm sorry, but if it takes 24 days to get past the name calling when confronted with a security flaw deemed major, OSS doesn't stand a chance.

      I'd maybe lend more credibility to your statement if you weren't the bug submitter (and thus very biased). It might be major to you, but few people will be affected by this problem because a) not many people use compressed drives and b) not everyone runs windows. Don't expect people to run over and pat you on the back for finding a bug. If you think getting bugs fixed in a proprietary software company is always straightforward, then I wonder if you have experience working for a proprietary software company.
      OTOH if it is very important to you or your company that this bug is fixed, why not pay someone to fix it?

  18. Anybody tried this on WINE? by ispeters · · Score: 3, Interesting

    I don't have WINE installed on my system, or the time to install and configure it, but since WINE re-implements the Windows API, wouldn't it have the function that Mozilla/IE/Word call to execute shell: URLs? Has anybody tested this vulnerability in WINE? Does anybody care what the results are?

    Ian

  19. Re:no command prompt? use batch files! by Tzarius · · Score: 2, Interesting

    At school the command prompt is disabled, and you can't right click and make a new batch file, and you can't rename the extensions so in order to run some commands all you have to do is write them in notepad, and then tell it save as "all files" and then give it the .bat extension. We sure did have a lot of fun with the netsends :P until someone put it in a loop and the teacher found out.

    An example of why Windows (all versions) is so hard to lock down. It's been said before, but some people just don't get how bad it is to design security around the os, rather than the *n*x / BSD model of building the os around security. Getting into the registry (and in the case of thin clients, onto the server C:\ drive) is just too easy.
    I pity the poor sysadmins who are told to lock down their networks, when any Joe with a way to get data into the system can start a prompt and run any program. There's no way to stop that in Windows, but it's real easy in Unix/Linux.

  20. DOS and social engineering by gad_zuki! · · Score: 2, Interesting

    Obviously, I can DOS your computer by overtaking your resources by running some app a bazillion times.

    I can also use launching apps to say I'm from MS, Yahoo, etc and tell the user to login and change their password (among other things). What user will say "I see you can run apps remotely on my computer but I know this is just the shell URI problem!"

    >Or am I just reading this wrong?

    Yeah, you're thinking like a techie and not a user. Problem #1 in the industry and here as well.