New URL Spoofing Bug in Pre-SP2 IE
An anonymous reader writes "According to Netcraft a new security flaw has been found in Microsoft Internet Explorer which makes it possible to spoof a URL with just some simple HTML code, by enclosing two URLs and a table within a single href tag. The user will be sent to one site, but the status bar will show a fake URL. The bug apparently affects IE and Outlook Express up to but not including SP2. Firefox and Konqueror seem unaffected."
Comment removed based on user account deletion
This exploit also affects Safari 1.2.3 on Panther.
Patch available here
Worryingly, Safari is also fooled by the bug - the status bar shows http://www.microsoft.com/ before you click on the link, but the address bar in the resulting window correctly shows http://www.google.com/.
"The flaw affects versions of IE up to 6.0.2800.1106 - which includes systems that haven't yet installed Windows XP SP2, but are current on all other critical updates from Windows Update - as well as the Safari browser for Macs."
Is it just me, or is that a typo? My version of Safari (1.2.3 v125.9) seems to handle their sample malformed tag just fine, displaying www.google.com as it should. Can anyone confirm or deny whether Safari is affected by this problem?
http://graha.ms/iesploit.html
Doesn't seem like anything that couldn't be done with javascript.
Just tested it with Opera 7.54 for Linux ... if you mouseover the actual text, "google.com" shows in the status bar, but if you position your cursor just exactly so that it's kinda over the URL, but not over any of the text, then you can get "microsoft.com" to show.
... can't you just use Javascript to rewrite the status bar anyway?
But I'm kind of confused as to why this is a big deal
Dlugar
Computer Go: Writing Software to Play the Ancient Game of Go
But your best bet would be to either update or switch to an unaffected browser.
What's worse? IE being vulnerable to spoofed URLs because of malformed HTML, or Firefox crashing because of the same thing?
Gnash Gnash Gnash
FF, reformating the world, one windows box at a time.
Just tried it myself on Safari v125.9 on 10.3.5; unfortunately the spoof worked.
Hovering over the actual link showed microsoft.com in the status bar, but clicking it did indeed go to google.
However, I can click outside the link on the same line (thanks to the table spanning the entire width of the article box), and it'll go to microsoft.com as indicated in the status bar when howevering over the line.
Last january, Microsoft Advised to Type in URLs Rather than Click. You have been warned early, consider yourself lucky !
<table>t .com</td></tr></table></a>
<tr><td>
<a href="http://www.google.com/">http://www.microsof
Before you mod me funny, think, perhaps I was insightfully funny?
Too bad the original goatse.cx is down, that could be fun. "Hey Jim, check that financial report!"... At least we have mirrors...
With my SP2 system I naviagated to http://graha.ms/iesploit.html/ and hovered over the link. This is what I discovered:
If you place the mouse on the link it shows the link will take you to google as it should, but if you place the mouse just outside the link (I guess on the table border) it says microsoft. The kicker is, that when it says Microsoft, clicking the link will not do anything.
http://brandonbloom.name
Safari goes to the wrong URL too.
Just tried the demo and ended up at Google rather than where the link looked like it should go.
Damn!
Konkeror on KDE 3.3.1 draws a transparent table (the one faked on the link) around the link, being both (the link and a small space outside the text link) clickable, but with different destinations. The resulting window (either google or microsoft) has no spoofed url.
Your head a splode
Comment removed based on user account deletion
You might as well say that links themselves are a security risk, since a link that says "Microsoft Web Site" but really goes to goatse.cx is a dangerous spoof.
Spoofing bugs are not good, and there's a lot that should be done to fix spoofing, but it's the cross-zone exploits that we really need to worry about. See, 95% of the real security holes in IE come from "security zones". And .NET is just going to embed this design flaw deeper in Windows.
I'll accept screwed up tables if they'll just back out the damn Windows-Explorer integration.
Change the html froma href="http://www.google.com/">http://www.microsoft .com</td></tr></table></a> a href="http://www.google.com/">http://www.microsoft .com</a></td></tr></table></a> ;
<a href="http://www.microsoft.com/"><table><tr><td><
to
<a href="http://www.microsoft.com/"><table><tr><td><
(sorry, Extrans mode is breaking the last </a> for some reason there)
and you will notice the status bar says microsoft.com, and clicking it goes to microsoft.com, but middle click for a new tab, and you get google, not what the status bar says!
Morphing Software
That's nothing. *My* father installed SP2 against my recommendation, and the next day a burglar broke into his house and stole most of the silverware!
Since installing firefox, nobody has broken into his house again.
No sig
From the article, "The flaw is possible because Internet Explorer has difficulty processing improperly formed HTML". If browsers had been pickier from the start, and refused to try to render improper HTML, perhaps we wouldn't see this sort of bug so often. Of course, now everyone expects to be able to view sites no matter how bad the code, so a 'correct' browser wouldn't be popular. Maybe browsers should start flagging improper HTML as a security risk; might actually get some people's attention.
IE's ability to parse anything meant it survived the problems which caused both Opera and Firefox to crash has also made this nastiness possible...
There's mischief and malarkies but no queers or yids or darkies within this bastard's carnival, this vicious cabaret.
Though another poster claims Safari isn't affected by this, I was able to replicate the vuln in Safari 1.2.3 (v125.9). So it appears that the other posters are incorrect. Firefox is unaffected, Internet Explorer show 'http://www.microsoft.com' when the cursor has changed to the link finger but shows 'http://www.google.com' when the cursor is over the link text. Opera for Mac displays the same oddities as IE. OmniWeb for Mac also does this, however, the space in which is displays the spoofed address is only about a pixel wide. Strangely, lynx didn't seem to have much to say :)
Is something like this discovered by accident, or is some poor person sitting at a desk coding weird html all day to see what happens?
http://www.w3.org/TR/html401/struct/links.html#ede f-A
...
According to the HTML4 ref @ w3, putting a table inside of an anchor-tag is illegal. Only inline tags may reside there, and a table is a block-level tag.
Since ths means the browser's behavior is undefined, I hope they come up w/ a better fix
Why aren't you encrypting your e-mail?
;)
This type of bug is very minor. I never trust what the status bar says on mouse-over of a link. With a little bit of javascript, it's easy to have it say whatever you want. Many sites already employ this. All it does is annoy me.
The bottom line is, once you land on the site, what does it say in the address bar and the status bar then?
One other thing, be careful of misleading domains that replace "1" with an "l" or vice versa.
eTrade SUCKS