Slashdot Log In
WinXP Security Flaw
Posted by
timothy
on Thu Dec 20, 2001 02:42 PM
from the can-root-my-dad's-new-laptop dept.
from the can-root-my-dad's-new-laptop dept.
Many readers have submitted word of the newest security hole in Windows XP. joshjs, for instance, writes: "Don't know if this is common knowledge at this point or not, but apparently some security researchers discovered that Windows XP's universal plug and play features contain a huge security flaw: 'A Microsoft official acknowledged that the risk to consumers was unprecedented because the glitches allow hackers to seize control of all Windows XP operating system software without requiring a computer user to do anything except connect to the Internet. ... Microsoft made available on its Web site a free fix for both home and professional editions of Windows XP and forcefully urged consumers to install it immediately.' Read more at the Washington Post's story." No OS is perfectly secure, but I bet a lot of new XP owners won't be too happy about this. Update: 12/20 20:05 GMT by T : fcrick submits a link to the same AP story at Wired, and several readers have pointed out that a patch is available. Update: 12/20 21:31 GMT by T : And as banuaba writes: "This hole also affects versions of 98 with XP File sharing installed and all versions of ME."
This discussion has been archived.
No new comments can be posted.
WinXP Security Flaw
|
Log In/Create an Account
| Top
| 628 comments
(Spill at 50!) | Index Only
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(1)
|
2
(1)
|
2
PNP (Score:5, Funny)
Plug your XP box to the internet and pray for the hackers not to find it.
Re:PNP (Score:4, Insightful)
The OS allows access to raw sockets and, therefore, the entire kernel.
Go read it again. Raw sockets is not a security flaw. Unix (including Linux and OSX) has them too. All it means is that it's easy to spoof packets. That's it.
Re:PNP (Score:4, Informative)
Well.. (Score:5, Funny)
Re:Well.. (Score:5, Insightful)
Ironically, he did "stay quiet". Notice that Scott Culp is practically peeing his pants in admiration of how he didn't publish details on how this is exploited.
Microsoft info (Score:5, Informative)
Re:Microsoft info (Score:5, Informative)
Re:Microsoft info (Score:5, Funny)
And the "XP Dramatically More Secure" article from a few months ago:
http://www.eweek.com/article/0,3658,s%253D701%2526 a%253D16895,00.asp [eweek.com]
Quoting Jim Allchin is fun:
D'oh...
Re:First security hole? (Score:5, Funny)
Technically true? (Score:5, Interesting)
Now granted, IIS comes with Windows so, is that really a seperate component? Also, by the same logic, Linux has never been exploited either has it? I mean, does Linux run any network daemons on it's own? No. So Linux, itself is bulletproof, it's just all those other things you put on top of it that can cause problems.
I just find it amusing how Microsoft keeps changing where they want to split their hairs when distinguishing between the OS and the applications. IE is part of the OS until it gets compromised and then suddenly it's a seperate application.
Technically false. (Score:4, Insightful)
Secondly, does anyone remember a little thing called Outlook Express? Sure, most of the popular worms exploited the unpatchable "Stupid User" bug, but there have been at least two that left your computer remotely compromisable from just the Preview pane of the email (thanks to HTML buffer overflows) and one that would let your computer be compromised as email was downloaded (thanks to email header buffer overflows). Of course, the preview pane bugs were really Microsoft HTML component bugs, so could be triggered by Internet Explorer hitting a malicious page even if you didn't use Outlook.
And if there's one thing that Microsoft has taught us, it's that Internet Explorer is an essential part of the Windows(TM) Operating System eXPerience.
Re:Technically true? (Score:5, Informative)
The syncookies bug a few months ago is a kernel bug.
Also the ip_conntrack_ftp bug in 2.4.3 and older is a kernel bug.
but Microsoft gets it now - (Score:5, Funny)
"Oh, you wanted a DOOR to hang that lock on.... Sure, I guess we could do that..."
Bug counter on the web (Score:3, Troll)
Is there any MS Windows XP bug counter on the web? Something like:
I think it would be funny, we could also compare with Linux 2.4.x bugs. And maybe we can also have a Score thing, or something like /.
Any suggestion? Any website that already do this?
Re:Magic Lantern (Score:4, Insightful)
>
>You don't think the Feds dropped the antitrust case for nothing, do you?
I may have misadjusted my tinfoil hat this morning, but it struck me that a PC configured to send out unicast malformed NOTIFY messages to exploit the previously-undisclosed UPnP hole on a specific target machine... well, it'd look to the UPnP service like piece of hardware. Hardware like a lantern, if you will, shining a light on the suspect's machine... *evil grin*
Heh (Score:5, Funny)
This speaks for itself
It's time for new marketing... (Score:3, Funny)
When the big virus/worm/... that exploits this hole is announced, maybe we can print up stickers to apply to all those nice shiny new XP boxes.
but what about the Internet Connection Firewall??? (Score:5, Funny)
Now Windows XP offers strong security to home computer users through Internet Connection Firewall protection, which makes your information, computers, and family data safer from intruders as soon as you start using Windows XP.
I guess that helped a lot.
Re:but what about the Internet Connection Firewall (Score:5, Informative)
Shit, I thought it was a feature.... (Score:3, Funny)
And now, this is a security hole. Man, nowaday, you can't know for sure if it's a bug or a feature anymore.
Re:Does someone here know what U p&p is? (Score:5, Informative)
The first vulnerability is a buffer overrun vulnerability. There is an unchecked buffer in one of the components that handle NOTIFY directives - messages that advertise the availability of UPnP-capable devices on the network. By sending a specially malformed NOTIFY directive, it would be possible for an attacker to cause code to run in the context of the UPnP service, which runs with System privileges on Windows XP. (On Windows 98 and Windows ME, all code executes as part of the operating system). This would enable the attacker to gain complete control over the system.
The second vulnerability results because the UPnP doesn't sufficiently limit the steps to which the UPnP service will go to obtain information on using a newly discovered device. Within the NOTIFY directive that a new UPnP device sends is information telling interested computers where to obtain its device description, which lists the services the device offers and instructions for using them. By design, the device description may reside on a third-party server rather than on the device itself. However, the UPnP implementations don't adequately regulate how it performs this operation, and this gives rise to two different denial of service scenarios.
In the first scenario, the attacker could send a NOTIFY directive to a UPnP-capable computer, specifying that the device description should be downloaded from a particular port on a particular server. If the server was configured to simply echo the download requests back to the UPnP service (e.g., by having the echo service running on the port that the computer was directed to), the computer could be made to enter an endless download cycle that could consume some or all of the system's availability. An attacker could craft and send this directive to a victim's machine directly, by using the machine's IP address. Or, he could send this same directive to a broadcast and multicast domain and attack all affected machines within earshot, consuming some or all of those systems' availability.
In the second scenario, an attacker could specify a third-party server as the host for the device description in the NOTIFY directive. If enough machines responded to the directive, it could have the effect of flooding the third-party server with bogus requests, in a distributed denial of service attack. As with the first scenario, an attacker could either send the directives to the victim directly, or to a broadcast or multicast domain.
I think it would be interesting to keep a running (Score:3, Insightful)
I would be interested to see captured on a yearly basis the bug count of Microsoft products versus some open source products including how long each bug took to get fixed and the severity of each bug.
Microsoft is good a spreading FUD-- but facts are hard to beat and gobbled up by the media.. I'd be willing to volunteer my time to anybody with a server and some bandwidth for a project like this: just tell me what you need me to do.
Not just Windows XP... 98, ME as well! (Score:5, Informative)
If you are running Windows 98 or ME, you should immediately go to Microsoft's website [microsoft.com] and download the patch for your system.
A more technical description can be found here [eeye.com].
Windows 2000 is not affected.
"... most secure ever ..." (Score:3, Redundant)
Reset the slogan timer again (Score:5, Funny)
You gotta love it... (Score:5, Funny)
Oh the fun you could have with BackOrificeXP right now... User tries to get patch, Evil haX0r-d00d shoots out a pop-up and mp3: a little Strauss music and a MsgBox reading, "I don't think I can let you do that, Dave."
woof.
[1] As opposed to that Win95 "fix" they called Win98 that you had to pay for.
How do you forcefully urge people?
Microsoft has come out with a new book recently... (Score:4, Funny)
Wait for it, wait for it...
"Writing Secure Code" [amazon.com]
This should not surprise you. (Score:3, Funny)
-JDF
isnt the amount of time it takes to fix this... (Score:3, Funny)
maturity (Score:3, Funny)
Why company would switch to ANY OS that is less then 3 years old is beyond me.
priorities (Score:5, Interesting)
The flaw, discovered five weeks ago threatened to undermine widespread adoption of Microsoft's latest windows software...
The company sold 25 million copies of Windows XP in the two weeks after it hit stores Oct. 25...
The company released a free fix thursday.
So beyond consideration that MS delay releasing XP until this hole is fixed. The best thing to do is keep it secret (responsible reporting) until they get around to writing the patch sometime. In fact, the biggest threat here is that it will "undermine the adoption" of XP -- i.e. they might not sell as many copies if people know there is a huge hole in the OS. No mention of threat to users, etc.
For reference, look at the motorola exploit in the jargon file [tuxedo.org].
I wonder how many times this has to happen before people are convinced that making bugs available and publicly releasing exploit code is the only way that the big vendors will make security a top priority.
The exploit (Score:5, Informative)
Comments: First, don't mod me up as "informative"; I didn't write any of that. If you're considering modding me up as informative, consider unchecking "willing to moderate" or at least read the moderator guidelines. Second, does MS put out products with such glaring, horrible security flaws *on purpose*? As far as I know, the UPNP feature is brand new, so it shouldn't be based on any existing code base, yet MS programmers are *still* using unsafe commands (presumably) and not doing bounds checking. This is a buffer overflow vulnerability in a new product, for fuck's sake.
-Legion
Re:The exploit (Score:4, Insightful)
I daresay you're right. Now please explain to me why a free kernel which was written for motives other than profit and with no obligations to the user base, manages to produce code that is NO WORSE than an expensive piece of software from Microsoft that has gone through a proper software engineering process.
This is even more damning when you consider that Jim Allchin said
So Microsoft is even admitting that they went to extra effort this time to improve the quality of their code and they STILL can't beat the free software. Microsoft has all the funding to do security audits and all the facilities for code review yet they STILL produce software that is only just on-par with freeware!
Yes, Linux has problems. My incredulity stems from the fact that Microsoft has them too. If Microsoft wants to distinguish themselves from the freeware then they're going to have to offer something MORE than the freeware. Their history with security proves that they have nothing more to offer than something I can download for free.
Just wondering... (Score:3)
The best way to secure a Windows box is to take a pair of scissors to the ethernet cable.
- A.P.
Whoa, Nice shootin', Tex (Score:4, Insightful)
For all you Linux-heads that haven't installed XP, the installer determines by asking you if you are connected directly to the Internet or if you are connected to a LAN --- if you're directly connected, YOUR CONNECTION IS AUTOMATICALLY FIREWALLED. Which means, that if MS did its math correctly, most people connecting to the Internet should already be protected, patch aside.
Now, what if you're on a LAN? You should already be behind a firewall. So theoretically the only people vulnerable are corporate users vulnerable from attacks INSIDE the company. That narrows it down, doesn't it?
Ooooh, it's a bug!! So what?!? I believe "security by obscurity" has proven to work this time. When did /. hear about this bug? Today. When was the patch released? Prolly before we heard about it. Nuff said.
But then, you know, Linux doesn't have bugs (eyeroll). Why is it that when Win* has bugs, it's headline news on /., but all the bugs in the 2.4 kernel go unnoticed? Oh yeah, heh, I forgot, this is Slashdot. Honestly, guys, grow up.
Like all the Linux boxen running pretty much any version of wu-ftpd and vulnerable versions of BIND (and there are A LOT) are safe. Hah. Why don't you look at the fact before you start posting flamebait......
Plug & Play port 5000 (Score:5, Interesting)
Turns out that Microsoft picked the same port for its Plug and Play architecture, which listens on it for a connection coming (presumably) through the local TCP/IP stack. The protocol is XML (maybe SOAP, can't remember). You can receive and send configuration information by using that port (the schema is somewhere on microsoft.com) and it occurred to me even then that this looked like a potential security hole. But, I thought, this is too blatantly obvious and surely Microsoft is not so stupid as to allow access to the PnP internals from nonlocal IPs. Right? So we simply moved our software's default port setting to another port and forgot about it.
Predictions:
The scandal will flow off MS in a day or two, like water off a duck's back.
The downloadable security patch will be bundled with the latest updates to Microsoft's digital rights management crap.
Every script kiddie will have a tool within the week that scans IP ranges on port 5000 in search of the machines that have remained unpatched.
The guy who publicized the flaw will be tried in a secret military tribunal as a cyberterrorist.
Re:There's no exploit (Score:5, Insightful)
How do you know there hasn't already been one. After all, security through obscurity means not telling users how bad things really are.
TWW
Just a question (Score:5, Informative)
I mean, it's OK for you and me, we read techie web sites like slashdot, and I'm subscribed to bugtraq. But 99.9% of the public out there aren't.
So, somewhere informative should be yelling and screaming about a problem like this that affects pretty much everyone with WinME or XP.
So, I check MS's website.
Top article with the biggest link? No. That goes to 'Give the gift of Internet for Christmas', an advert for MSN.
Ah, there's a Windows section just beneath - surely it'll be there? Nope. "Music, movies and more".
Maybe it counts as 'News'? "Test Results In - Windows XP more reliable" (at least if its getting your computer rooted you're after).
Downloads perhaps? An item at least for a security fix - the Internet Explorer one discussed last week, but no mention of any XP patches. Not even if I click "More downloads".
Maybe if you click on the 'Windows' section? No mention. But that's for the Windows XP Home edition. Maybe the Pros think it's more useful? No. "Turn your computer into an entertainment center" - very professional.
Aha - finally found it; chose a link from the Windows XP Home page to the Windows XP home page (note capitalisation difference) and theres a small link there "Important! Security patch for Windows XP and Windows ME users" on a page that apparently has the main intention of allowing people to choose whether they want the home edition or the professional edition sites, neither of which has the link.
Oh, and as an aside, is it just me, but I'm using Internet Explorer 5 with default font size settings, on Win NT 4 with default font size settings, and some of the text on the security bulletin is only about 6 pixels tall and is utterly unreadable because of this?
Re:NO EXPLOIT AVAILABLE (Score:5, Insightful)
The idea that full-disclosure means "immediate disclosure" is simply not true.
TWW
The speed of reportnig in other media (Score:3, Funny)
Nobody would break into my system anyway ... (Score:3, Insightful)
"No OS is perfectly secure, but I bet a lot of new XP owners won't be too happy about this."
Perhaps fewer than you might think, because first they have to know about the hole, then they have to care . In my experience, the average joe doesn't understand the implications at all, and asks "why would anyone want to break into my system anyway? I have nothing of interest or value there."
As Slashdotters we tend to highly over-estimate the level of understanding of the average joe with regard to security issues and YRO in general. Sad, but all too true 8^{
Subscribe to MS Security notification! (Score:3, Informative)
I think at least Microsoft has done something to immediately close this security hole.
If you want to get notification of any security patches for any Microsoft product, their security web page (www.microsoft.com/security) allows you to sign for for an email notification service that gives email warnings about possible security problems and available patches to correct said problem.
It's also a good practice to regularly visit the Windows Update web page (windowsupdate.microsoft.com). That page has Critical Updates that includes security patches.
FUD (Score:5, Informative)
"Linux" as a trademark is owned by Linus. Not the software.
The GNU affects you only if you wish to redistribute GNU copyrighted software. It is not an EULA, and no one is "licensed" to use or install GNU Software. Anyone can install/configure/run/modify it however they want.
Yes, FUD (Score:5, Insightful)
EULA = "End User License Agreement". They are a way of taking away user's first sale rights. The GPL does not try to foist any license agreement on end users. In fact it states
5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works.
So you are confusing a license to redistribute something (which is required for all copyrighted works) with a license to use a copyrighted work. Microsoft has the latter in the form of EULA. Linux doesn't. Microsoft has the former in the form of often secret agreements with OEMs. Linux has the former with the publicly available GPL. Apples and oranges.
Re:May not be (quite) as bad as it sounds (Score:3, Insightful)
what about those "idiots" that aren't computer literate and that dont know what a firewall even is?