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."
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
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?
Now we know wether the shell scheme bug was in the OS or the application :)
(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.
(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
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
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?
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.
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....
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..
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.
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[-
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
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.
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.
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.
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
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
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.
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.