Microsoft Flip-Flops On URI Protocol Handing Flaw
a-twitter writes "After months of insisting there is nothing to patch, Microsoft has done a complete 180 on the URI protocol handling vulnerability, announcing in a security advisory that a Windows update will be released to revise URI handling code within ShellExecute() to be more strict. The MSRC blog explains the background and offers more details on this issue."
After months of insisting there is nothing to patch, Microsoft has done a complete 180 on the URI protocol handling vulnerability
If it took them that many months, it sounds like they did a 1260.
The theory of relativity doesn't work right in Arkansas.
Now we won't have to read any more Slashdot comments that say, "It's not really Microsoft's problem."
> For traditionally "safe" protocols like mailto: or http:
And that's where my co-workers heard the cry of "You dumb motherfuckers".
It's been a few years since Microsoft boxes were out-of-the-box exploitable through anything other than rendering HTML content from either a web page or from within an email client.
While the planet is grateful for the lack of uPnP and DCOM/RPC worms of late, it also means that "things that have to do with email or web browsing" are among the least safe things you can ask a computer to do.
If you're at Microsoft, and you still think of "http://" as "safe", you're still part of the problem, not part of the solution.
Damn Microsoft for doing a 180 and making ShellExecute() be more strict about URI's. Damn you Microsoft for fixing that bug now, when you didn't fix it before. You should have kept with this and not fixed it. Or something. :-)
Beware: In C++, your friends can see your privates!
After being criticized about security, Microsoft has taken additional steps to shorten the time between when they advise a customer of a vulnerability and when it is fixed. Ballmer stated "This is a win for both the customer and Microsoft."
If Microsoft concedes that IE should validate/sanitize URL input before passing it to other applications, then other browsers should also validate/sanitize URL input before passing it to other vulnerable Microsoft/Adobe/IBM/... applications.
I have a "handing" flaw. A protocol has a "handling" flaw.
;p
My flaw is much more personal
I do not respond to cowards. Especially anonymous ones.
You're not paying attention. There were two flaws: One in Firefox, one in ShellExecute. Microsoft cannot and did not fix the flaw in Firefox (incorrect interpretation of command line). Microsoft did fix the bug in ShellExecute, which was by the failure to abort if URLMON returned an error code indicating that a given string was not a legal URI.
Did you really say and believe that? Congratulations, you have outdone M$ themselves. Let's review:
How is that Firefox again? Yes, I saw in the recap where "MSRCTEAM" mentions their previous friendly blame cast, I mean "advice", to the Firefox team. Can you tell me how that intersects reality again?
DMCA, Hollings, Palladium. What might have sounded like paranoia is now common sense.
Hmm.. I happen to have Vista Ultimate, and Office 2007. I just clicked a link in Outlook and it opened FF just fine even though FF wasn't already open. How do you reproduce the error you describe?
Microsoft is a pain when it comes to protocols. If they have a bug, unless it blows up Fortune 500 servers they put the burden on you to work around them. I wrote a HTTP proxy client lib a while back that ran with no problems for months/years until Microsoft got into our market. "But the RFC says..." means jack to your clients when their deployment is bombing out on transactions.
I swear to God...I swear to God! That is NOT how you treat your human!
Hmm, I'm on the 32-bit OS. Maybe it was fixed in a recent update?
There are two "bugs" being talked about.
1) an exploit in firefox URI protocol handler
2) an exploit related to how explorer handles rejected URIs from IE7 on XP/Win2k3
Apparently the submitter isn't able to differentiate #2 from #1.
The advisory is for item #2. Item #2 is going to get fixed. The advisory does not cover item #1. Item #1 will need to be fixed in the protocol handler itself.
The parameter handling is not being modified to prevent applications from receiving potentially malformed URLs as command line parameters. It remains the responsibility of the applications which handle URLs to properly parse their own command line parameters and to set up the applications protocol handler in a way that does not cause the application to be a vector of attack (for example, 'firefox.exe "%1"' might be a problem). The flaw that is being fixed has to do with improper handling of some protocols (http, mailto) on XP/2003 with IE7 installed, which has nothing to do with custom protocol handlers.
The MSRC post was meant to clarify the issue. Sadly, it seems that the substance of the post is ignored and misinformation prevails.
Even though the parent forgot, "... and blame the developers of third party applications..." it was otherwise accurate, if blunt. The Troll mod is unfair. Mod, you will be punished in meta-mod land.
If you mod me down, I shall become more powerful than you could possibly imagine.
You must have slept through that whole anti-trust thing, where the Federal government proved that M$ did everything in it's power to break Netscape.
Psst. Netscape is not a competitor to Windows. Never was.
MS cripples themselves when they try and lean on Windows to get IE, or Office, or Visual Studio more market share. But Windows itself -- well, there's been to date, what, four serious attempts at competting with MS, and they haven't even managed to get half the market between them?
BeOS, UNIX et al, OS/2, and the Mac. All told, maybe 30% of the worldwide userbase. Microsoft is doing something right -- or else the "here, you can have this for free" crowd is doing something even worse than MS.
MS cripples themselves when they try and lean on Windows...
Well, the grandparent never said that Netscape was a competitor to Windows, but it sure was a competitor with Internet Explorer. Considering that Internet Explorer completely crushed Netscape due to it being free and bundled with Windows (and, eventually, a better product), I think that Microsoft's plan of leaning on their Windows dominance to sell their other products seems like a pretty successful one. Of course, of these, only IE is "bundled". For Office and Visual Studio, it's really a two-way street. People get Office or VS because they're the de-facto standard on Windows, then they stay with Windows so they can keep the same office suite/IDE.
They seemed to "cripple" themselves with the decaying quality of IE before the release of version 7, but really, it's a consequence of how they dominated the market so effectively. When there's no real competition, why bother innovating? If anything, Microsoft's business model sometimes works too well for their own good.
Microsoft is doing something right
Unfortunately, the thing they're doing right is wrong (they're a monopoly, remember?)
Why, yes! I AM new here.
Is it PHP's fault that people don't escape their data before executing MySQL statements? No. Still it's such a wide problem that PHP is now going to escape all data in later versions of PHP.
This is the exact same situation. There are problems with un-escaped data and Microsoft doesn't want to bother much like the PHP team did before they changed their minds about the situation.
The only difference here is the way the code executes. I personally think it's not Microsoft's fault but they should fix it anyway. If they're that freaked out about backwards compatibility then just have an "on" or "off" switch in the registry so for the 0.1% of people that need it to stay the same have that option, but the vast majority are covered.
Font sizes are in points. They won't be the correct size if your display size isn't being picked up correctly, which sounds likely. Try setting DisplaySize in your xorg.conf and see if it makes a difference. Remember to make a backup copy first, so you can just copy it back in play if something screws up.
Igor Presnyakov stole my hat
Being a monopoly is not, in itself, illegal.
I'm quite aware that this is completely off-topic, but "Flip-Flops"? This locution, imported from contemporary political discourse, no doubt, irritates me to no end. Why not just say what you mean--namely: "changes its (or, in the case of persons, his/her) mind"? Or is this neologism supposed to mean something else that I'm not aware of (I doubt it, but who knows)?
Visiting http://www.slashdot.org/ works fine
IE seems to store the http: in favorites etc., so it's not much of a problem.
Also it doesn't affect Firefox so almost nobody will notice.
Reduce, reuse, cycle
If program A and program B are installed, and while the user uses program A (Internet Explorer) and a specific bug causes that if program B (firefox) is installed and the user is currently using program A, malicious user can cause program A to pass parameters which will not be checked on program B.
So who is guilty? Program A for allowing to pass those parameters? or Program B which doesn't sanitize input from other programs?
I'd say, both.
Read and Comment at my BLOG
!!!
I just stated this on the Adobe vulnerability story.... clickie to see the irony
/.
My post:
"Is it really an Adobe vulnerability? Seems more like it's an IE vulnerability that has been blame-shifted to whoever writes the plugins that might expose it for what it is."
Replies:
"From what I understand, and there isn't much in the way of technical details available, this is not an IE flaw. IE, correctly, doesn't assume that a URI is invalid just because it looks odd. This is correct, because there is no way IE can know if an URI for another protocol is valid or invalid. It is the responsibility of the target program to sanitize its input, knowing full well that it comes from an untrusted source."
Methinks some credit is due.... or maybe more troll mods? it is
A fool throws a stone into a well and a thousand sages can not remove it.
Is anyone surprised that a big business swears there is no problem until they have a solution.
Usually, the terms `flip-flop` and `Microsoft` together in a sentence bring out the MS-bashers and Linux advocates. But to be frank, this is a good thing for Microsoft to do. Their previous argument was pretty solid, because how are Microsoft to anticipate each and every URL registration made by a third-party application writer? Answer: they can't.
So by now admitting to plans to write a more strict handling routine for the shell URI interpreter, Microsoft is not kowtowing to pressure from the free market (IMHO), but actually taking a step towards better security.
Microsoft fanboiz or not, that's what we all want, right?
Indeed, many people seem to mistakenly believe the former though, which is my gripe.
Standards have traditionally been whoever has the largest market share. They may change from vendor to vendor, but it has always been this way. Always.
Sigh. When I went through college, there were no computer majors, but now it definitely seems time that there should be computer history majors
You seem to be saying that abuse is okay of someone has done that kind of abuse before.
Just a quick point. UNIX=!free and it predates Microsoft operating systems by a pretty substantial span of time, and it's not a consumer desktop OS. BeOS=!free and kind of had a dearth of software developed for its platform OS|2=!free and it's basically a fork of NT from when IBM & Microsoft decided to take their respective marbles and go home when their collaboration fell apart. IBM didn't market it anywhere near as aggressively as Microsoft marketed NT. Mac=!free and the hardware has typically carried a ludicrously high price tag, while the selection of software is on the sparse side (most comp stores I've been in have the usual half-dozen full aisles of Win-PC software, to one-half of an aisle dedicated to Mac software). Linux=free, but its day isn't over yet. It's getting closer to that asymptote of "being ready for the consumer desktop", which is where folks like Shuttleworth want it to be, and if Canoical was to get more aggressive in marketing k/ubuntu to the masses, who knows what could happen? Percent by meager fraction of a percent, whatever market share ubuntu has today was achieved at what's probably a negligible cost-per-percent compared to the billions of marketing dollars Microsoft has spent hollowing-out a solid foothold in the marketplace over the past 20+ years. That's if you consider services like Shipit to be "advertising". Any estimates as to how much Microsoft spent trying to convince the public to buy Vista over the past year? And what's its overall market share is? I have my doubts that its shareholders like to think about such things...