32104 : Mozilla Multiple Products location.hostname Null Byte URI Security Bypass
Printer | http://osvdb.org/32104 | Email This | Edit Vulnerability

Views This Week

13

Views All Time

503

Info

Last Modified

about 1 year ago

Percent Complete

100%

Disclosure

Feb 14, 2007

Discovery

Unknown

Dates

Exploit

Feb 14, 2007

Solution

Unknown

Keywords

No Keywords

Description

Mozilla Firefox, Mozilla SeaMonkey, and other Mozilla-based browsers contain a flaw that may allow a remote attacker to bypass security restrictions and gain knowledge of sensitive information. The issue is due to Mozilla-based browsers improperly handling writes to the 'location.hostname' DOM property. The flaw is triggered when a malicious web page writes a hostname value containing NULL characters ('\x00') to the 'location.hostname' DOM property, allowing for alteration of the 'document.domain' in order to bypass the same-origin policy for cross-frame/cross-window data access. This may allow an attacker the ability to manipulate authentication cookies for third party web pages and tamper with the way these sites are displayed or how they work, resulting in a loss of confidentiality.

Classification

Location: Remote/Network Access Required
Attack Type: Input Manipulation
Impact: Loss of Confidentiality
Exploit: Exploit Available
Disclosure: OSVDB Verified

Solution

Upgrade to the following product versions, as they have been reported to fix this vulnerability:
Mozilla Firefox: version 1.5.0.10 or higher
Mozilla Firefox 2: version 2.0.0.2 or higher
Mozilla SeaMonkey: version 1.0.8 or higher

It is also possible to correct the flaw by implementing the following workaround:
Deny setting location.hostname by placing the following line in your user.js file:
user_pref("capability.policy.default.Location.hostname.set", "noAccess");
If you don't have one, create one in notepad and place it in your profile directory (e.g. C:\Program Files\Mozilla Firefox\defaults\profile).

Products

Mozilla Organization
Watch-list
Firefox
Watch-list
2.0.0.2
1.5.0.10
0.8
0.9
0.9.1
0.9.2
0.9.3
0.10
1.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.5
1.5.0.1
1.5.0.2
1.5.0.3
1.5.0.4
1.5.0.5
1.5.0.6
1.5.0.7
1.5.0.9
2.0
1.5.0.8
2.0.0.1
0.1
0.2
0.3
0.4
0.5
0.6
0.6.1
0.7
0.7.1
SeaMonkey
Watch-list
1.0.8
1.0.7
1.0.6
1.0.5
1.0.3
1.0.2
1.0.1
1.0
1.1.1

References

Tools & Filters

Nessus

24701 24707 24708 24735 24748 24753 24771 24774 24800 25318 25779 27118 27119 27439 27440 28021 28022 29359

Manual Testing Notes

Credit

  • Michał Zalewski - lcamtufBrand New Doo Doocoredump.cx - http://lcamtuf.coredump.cx/

Blogs

None found at this time

Comments

No Comments.

DONATE NOW!

User Status

Quick Searches

Advertisements

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2008 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use