Description
Mozilla based browsers, including Firefox before 1.5.0.10 and 2.x before 2.0.0.2, and SeaMonkey before 1.0.8, allow remote attackers to bypass the same origin policy, steal cookies, and conduct other attacks by writing a URI with a null byte to the hostname (location.hostname) DOM property, due to interactions with DNS resolver code.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 3.1 | mozilla-firefox | 1.0.4-2sarge17 | DSA-1336-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | devhelp +1 | 0.12-10.0.1.el5 | RHSA-2007:0097 |
| RHEL 5 | firefox | 1.5.0.10-2.el5 | RHSA-2007:0097 |
| RHEL 5 | thunderbird | 1.5.0.10-1.el5 | RHSA-2007:0108 |
| RHEL 5 | yelp | 2.16.0-14.0.1.el5 | RHSA-2007:0097 |
| RHEL 4 | devhelp +1 | 0.10-0.7.el4 | RHSA-2007:0077 |
| RHEL 4 | firefox +1 | 1.5.0.10-0.1.el4 | RHSA-2007:0079, RHSA-2007:0078 |
| RHEL 4 | seamonkey +5 | 1.0.8-0.2.el4 | RHSA-2007:0077 |
| RHEL 3 | seamonkey +9 | 1.0.8-0.2.el3 | RHSA-2007:0077 |
| RHEL 2 | seamonkey +9 | 1.0.8-0.2.el2 | RHSA-2007:0077 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | MozillaFirefox | 92.0-1.2 | openSUSE-SU-2024:10600-1 |
| openSUSE Tumbleweed | firefox-esr | 128.5.1-1.1 | openSUSE-SU-2024:14572-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Mozilla Firefox 2.0.0.1 - 'location.hostname' Cross-Domain EDB-3340 · remote · Feb 20, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 8
- RHSA-2007:0097 Red Hat Security Advisory: firefox security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2007:0078 Red Hat Security Advisory: thunderbird security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2007:0079 Red Hat Security Advisory: Firefox security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2007:0077 Red Hat Security Advisory: seamonkey security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1336-1 mozilla-firefox Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10600-1 MozillaFirefox-92.0-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14572-1 firefox-esr-128.5.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- RHSA-2007:0108 Red Hat Security Advisory: thunderbird security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
References
- RHSA-2007:0078 vendor-advisory
- https://bugzilla.mozilla.org/show_bug.cgi?id=370445
- 24395 third-party-advisory
- 32104 vdb-entry
- 20070226 rPSA-2007-0040-1 firefox mailing-list
- 24328 third-party-advisory
- RHSA-2007:0108 vendor-advisory
- GLSA-200703-04 vendor-advisory
- 20070214 Firefox: serious cookie stealing / same-domain bypass vulnerability mailing-list
- GLSA-200703-08 vendor-advisory
- 20070215 Re: [Full-disclosure] Firefox: serious cookie stealing / same-domain bypass vulnerability mailing-list
- SSA:2007-066-03 vendor-advisory
- 24384 third-party-advisory
- firefox-locationhostname-security-bypass(32533) vdb-entry
- 24457 third-party-advisory
- 24343 third-party-advisory
- DSA-1336 vendor-advisory
- HPSBUX02153 vendor-advisory
- oval:org.mitre.oval:def:9730 vdb-entry signature
- ADV-2007-0718 vdb-entry
- VU#885753 third-party-advisory
- 24650 third-party-advisory
- USN-428-1 vendor-advisory
- 2262 third-party-advisory
- 24320 third-party-advisory
- 25588 third-party-advisory
- https://issues.rpath.com/browse/RPL-1103
- SUSE-SA:2007:019 vendor-advisory
- ADV-2008-0083 vdb-entry
- 20070303 rPSA-2007-0040-3 firefox thunderbird mailing-list
- SUSE-SA:2007:022 vendor-advisory
- 24293 third-party-advisory
- 24238 third-party-advisory
- 24393 third-party-advisory
- 24342 third-party-advisory
- 24287 third-party-advisory
- FEDORA-2007-281 vendor-advisory
- 24175 third-party-advisory
- 22566 vdb-entry
- RHSA-2007:0097 vendor-advisory
- FEDORA-2007-293 vendor-advisory
- 24205 third-party-advisory
- https://issues.rpath.com/browse/RPL-1081
- 24333 third-party-advisory
- MDKSA-2007:050 vendor-advisory
- 24290 third-party-advisory
- 1017654 vdb-entry
- 24455 third-party-advisory
- http://www.mozilla.org/security/announce/2007/mfsa2007-07.html
- RHSA-2007:0077 vendor-advisory
- ADV-2007-0624 vdb-entry
- SSA:2007-066-05 vendor-advisory
- RHSA-2007:0079 vendor-advisory
- http://lcamtuf.dione.cc/ffhostname.html
- 24437 third-party-advisory