CVE-2012-0458 Cross-site scripting in n/a
Attackers can execute arbitrary JavaScript with chrome privileges by tricking users into dragging a malicious URL to the home button.
- 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-0458?
CVE-2012-0458 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 14 Mar 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
Mozilla Firefox before 3.6.28 and 4.x through 10.0, Firefox ESR 10.x before 10.0.3, Thunderbird before 3.1.20 and 5.0 through 10.0, Thunderbird ESR 10.x before 10.0.3, and SeaMonkey before 2.8 do not properly restrict setting the home page through the dragging of a URL to the home button, which allows user-assisted remote attackers to execute arbitrary JavaScript code with chrome privileges via a javascript: URL that is later interpreted in the about:sessionrestore context.
Weakness: CWE-264
Which versions are affected by CVE-2012-0458?
It affects 4 products.
Products include Mozilla Firefox, Mozilla Seamonkey, Mozilla Thunderbird, Mozilla Thunderbird Esr.
How do I fix CVE-2012-0458?
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-0458 being exploited?
There is no known exploitation of CVE-2012-0458 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-7574-4phv-mpvf.