CVE-2006-1731 Cross-site scripting in n/a
Remote attackers can execute cross-site scripting attacks in Mozilla Firefox and Thunderbird by exploiting a flaw in valueOf method handling.
- 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-2006-1731?
CVE-2006-1731 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 14 Apr 2006. 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
Mozilla Firefox and Thunderbird 1.x before 1.5 and 1.0.x before 1.0.8, Mozilla Suite before 1.7.13, and SeaMonkey before 1.0 returns the Object class prototype instead of the global window object when (1) .valueOf.call or (2) .valueOf.apply are called without any arguments, which allows remote attackers to conduct cross-site scripting (XSS) attacks.
Weakness: CWE-79
Which versions are affected by CVE-2006-1731?
It affects 4 products.
Products include Mozilla Firefox, Mozilla Mozilla Suite, Mozilla Seamonkey, Mozilla Thunderbird.
How do I fix CVE-2006-1731?
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-2006-1731 being exploited?
There is no known exploitation of CVE-2006-1731 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as DEBIAN-CVE-2006-1731, GHSA-5g37-6qw5-9qqj.