CVE-2007-6589 Cross-site scripting in n/a
Remote attackers can execute cross-site scripting attacks in Firefox via jar URIs due to improper origin domain handling during HTTP redirects.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2007-6589?
CVE-2007-6589 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 28 Dec 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The jar protocol handler in Mozilla Firefox before 2.0.0.10 and SeaMonkey before 1.1.7 does not update the origin domain when retrieving the inner URL parameter yields an HTTP redirect, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a jar: URI, a different vulnerability than CVE-2007-5947.
Weakness: CWE-79
Which versions are affected by CVE-2007-6589?
It affects 2 products.
Products include Mozilla Firefox, Mozilla Seamonkey.
How do I fix CVE-2007-6589?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2007-6589 being exploited?
There is no known exploitation of CVE-2007-6589 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-mjp2-qv3r-5pqp.