Security gone awry: IE 8 XSS filter exposes sites to XSS attacks
Summary: The cross-site scripting filter that ships with Microsoft's Internet Explorer 8 browser can be abused by attackers to launch cross-site scripting attacks on websites and web pages that would otherwise be immune to this threat.
[ UPDATE: Microsoft plans to ship an XSS filter update in June 2010 to fix what is hopefully the last attack scenario ]
The cross-site scripting filter that ships with Microsoft's Internet Explorer 8 browser can be abused by attackers to launch cross-site scripting attacks on websites and web pages that would otherwise be immune to this threat.
According to a presentation at this year's Black Hat Europe conference, the issue introduces security problems at several high-profile websites, including Microsoft's own Bing.com (screenshot), Google.com, Wikipedia.org, Twitter.com (screenshot) and just about any site that lets IE 8 users create profiles.
[ SEE: Anti-malware blocker, XSS protections coming in IE 8 ]
Microsoft added the anti-XSS feature in IE 8 last August to detect Type-1 (reflection) attacks that can lead to cookie theft, keystroke logging, Web site defacement and credentials theft. However, as the researchers discovered, Microsoft's filters work by scanning outbound requests for string that may be malicious.
This is where the hiccup exists:
When such a string is detected, IE8 will dynamically generate a regular expression matching the outbound string. The browser then looks for the same pattern in responses from the server. If a match is made anywhere in the server's response then the browser assumes that a reflected XSS attack is being conducted and the browser will automatically alter the response so that the XSS attack will be unsuccessful.
The exact method used to alter a server's response is a crucial component in preventing XSS attacks. If the attack is not properly neutralized then a malicious script may stil execute. On the other hand, it is also crucial that benign requests are not accidentally detected.
The researchers figured out a way to use the IE 8's altered response to conduct simple abuses and universal cross-site scripting attacks.
[ SEE: Apache.org hit by targeted XSS attack, passwords compromised ]
This document (PDF) explains the scope of the problem and provides some demonstrations.
Jerry Bryant, a spokesman for Microsoft's security response team, said the bulk of the problems described in the document was fixed with the MS10-002 security patch, which was released for IE users earlier this year.
"Microsoft also added a defense-in-depth change (MS10-018) in March 2010 to provide broader coverage for this type of attack scenario," Bryant said.
However, not all of the issues have been fixed and the browser's XSS filter is still introducing security risks on certain web sites.
End users running IE 8 should consider disabling the filters from within the browser until a comprehensive patch is shipped.
UPDATE: Microsoft's Bryant e-mailed to point to this August 2008 blog post that provides some additional context on this issue.
Kick off your day with ZDNet's daily email newsletter. It's the freshest tech news and opinion, served hot. Get it.
Talkback
Security gone awry: IE 8 XSS filter exposes sites to XSS attacks
Loverock why is it you always poo-poo anything that effects M$ products?
RE: ...why is it you always poo-poo anything that effects M$ products?
[b]Because [u]Steve Ballmer[/u] personally signs LD's paycheck!!!![/b]
I mean, did you not know that LD works at the [b]FUD department[/b] at M$!!!
Have been mitigated?
That doesn't sound like "most" and even less "mitigated to somewhere between zero and nil"
As usual, you downplay all M$ related issues to a no-problemo situation.
MS Apologist lives his past...
"And as expected, the downplay of the seriousness of the vulnerability by dragging something completely nonrelated into it to compare to. Then make the feeble attempt to make it look better when in actuallity its more inferior.
Posted by: Loverock Davidson Posted on: 11/08/05 "
Are you new here?
Nobody could actually be that retarded, it's not possible.
Are you sure?
Embarrassing...
some 'splaining to do. Ugh
Next we'll find out that
What? You mean IE8 security failed?
And here I thought you said it was as safe as sliced bread.
:D
RE: Security gone awry: IE 8 XSS filter exposes sites to XSS attacks
The best option
Oh the irony...
software the bigger we make the footprint that must be
protected in the first place.
Bloat serves only to increase the body area exposed to attack
Whatever you say, Dietrich. (nt)
You misspelled my name, there must be something wrong with your keyboard.
Unavoidable
In fact it doesn't happen often enough to be a significant bother for the hundreds of millions of users world wide but what is important to Mr. & Ms. Joe and Josephine average is that they want what Windows has and if that means bloat then bloat it shall be and MS just has to find ways to mitigate the damage so to speak.
Its unavoidable so get used to it. Its what the world wants and what the world demands. Like it or not, Windows runs the world.
The public doesn't say a thing at all
Mr. & Ms. Joe and Josephine Average not only don't know there's an alternative to Windows, they don't even know the difference between hardware and software. All they want is to click this to check their email and click that to browse the web.
Why don't you go and tell them about your favorite...
I'm sure you do