MozillaZine

Fix for URL Spoofing Security Vulnerability Checked in to Mozilla Trunk and 1.6 Branch

Wednesday January 7th, 2004

The latest nightly builds of Mozilla feature a fix for the URL spoofing security vulnerability discovered in several browsers last month. A patch was checked in to the trunk and 1.6 branch yesterday, meaning that both the forthcoming Mozilla 1.6 and Mozilla Firebird 0.8 will be immune to the flaw.

In vulnerable versions of Mozilla, the address displayed in the Status Bar while hovering over a link is truncated if the characters %00 are present in the URL of the destination page. An attacker could exploit this to make a link that goes to http://www.microsoft.com%01%00@evilscam.net (real location evilscam.net) but appears in the Status Bar as simply http://www.microsoft.com. By fooling a user into believing that he or she is visiting a trusted site, an attacker could trick him or her into revealing sensitive information such as credit card details.

The flaw was originally detected in Microsoft Internet Explorer before also being spotted in Mozilla. The IE variant is more serious, however, as it affects not only the URL displayed in the Status Bar but also the URL shown Address Bar after following a spoofed link. At the time of writing, Microsoft has acknowledged the problem but not yet issued a patch.

Full technical details of the fix are in bug 228176. The Secunia Internet Explorer Address Bar Spoofing Test page allows browser users to check whether their software is vulnerable.

Update: The patch has now also been checked in to the 1.4 branch and will be included in the forthcoming Mozilla 1.4.2.


#1 Not yet in Firebird 0.8

by mlefevre

Wednesday January 7th, 2004 2:45 PM

You are replying to this message

I would imagine that Firebird 0.8 will indeed get the fix, but it's not there yet. Firebird 0.8 is on its own branch, so the fact that this is checked into trunk and the 1.6 branch does not mean that the fix is in Firebird 0.8.

And it's all very well knocking Microsoft not having a patch yet, but the average user with Mozilla 1.5 doesn't have a patch they can use yet either (unless they have the knowledge to compile their own build or are prepared to upgrade to a nightly build).