Mozilla-based browsers contain a cross-domain vulnerability, which may allow an attacker to access data in other sites.
Mozilla uses a same origin security model to maintain separation between browser frames from different sources. This model is designed to prevent code in one domain from accessing data in a different domain. From the same origin policy:
Mozilla considers two pages to have the same origin if the protocol, port (if given), and host are the same for both pages.
Mozilla fails to properly handle
location.hostname parameters that have embedded null characters, which can cause a cross-domain violation. Note that this only affects web sites that have specify the
document.domain setting for relaxed same origin protection. This vulnerability appears to affect all Mozilla-based browsers, including Firefox.
By convincing a victim to view an HTML document (web page), an attacker could modify data in another domain. For example, web page script in one domain could set a cookie for a web page in another domain.
Apply an update
This vulnerability is addressed in Firefox 22.214.171.124, Firefox 126.96.36.199, and SeaMonkey 1.0.8, as specified in MFSA 2007-07.
Disable the ability to set
This vulnerability can be mitigated by disabling the ability for a web site to set the
location.hostname property. This can be accomplished by adding the following line to the
Filter by status: All Affected Not Affected Unknown
Filter by content: __ Vendor has issued information
__ Sort by: Status Alphabetical
Affected Unknown __ Unaffected
Notified: February 15, 2007 Updated: February 15, 2007
No statement is currently available from the vendor regarding this vulnerability.
The vendor has not provided us with any further information regarding this vulnerability.
Group | Score | Vector
Base | N/A | N/A
Temporal | N/A | N/A
Environmental | | N/A
This vulnerability was publicly disclosed by Michal Zalewski.
This document was written by Will Dormann.
CVE IDs: | CVE-2007-0981
Severity Metric:** | 6.76
Date Public: | 2007-02-14
Date First Published: | 2007-02-15
Date Last Updated: | 2007-03-09 15:41 UTC
Document Revision: | 47