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.