CVE-2012-4201 Cross-site scripting in n/a
Remote attackers can execute cross-site scripting or read arbitrary files via a sandboxed add-on in Mozilla Firefox, Thunderbird, and SeaMonkey.
- 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-2012-4201?
CVE-2012-4201 is a medium-severity cross-site scripting vulnerability in Canonical Ubuntu Linux, published on 21 Nov 2012. 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 evalInSandbox implementation in Mozilla Firefox before 17.0, Firefox ESR 10.x before 10.0.11, Thunderbird before 17.0, Thunderbird ESR 10.x before 10.0.11, and SeaMonkey before 2.14 uses an incorrect context during the handling of JavaScript code that sets the location.href property, which allows remote attackers to conduct cross-site scripting (XSS) attacks or read arbitrary files by leveraging a sandboxed add-on.
Weakness: CWE-79
Which versions are affected by CVE-2012-4201?
It affects 14 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Mozilla Firefox, Mozilla Seamonkey, Mozilla Thunderbird, Mozilla Thunderbird Esr and 8 more.
How do I fix CVE-2012-4201?
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-2012-4201 being exploited?
There is no known exploitation of CVE-2012-4201 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as GHSA-6fwr-vrgr-xcw8.