CVE-2018-5133 Cross-site scripting in Firefox
A malicious local program can inject scripts into Firefox preferences, leading to code execution when specific UI elements are loaded.
- 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-2018-5133?
CVE-2018-5133 is a medium-severity cross-site scripting vulnerability in Canonical Ubuntu Linux, published on 11 Jun 2018. 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
If the "app.support.baseURL" preference is changed by a malicious local program to contain HTML and script content, this content is not sanitized. It will be executed if a user loads "chrome://browser/content/preferences/in-content/preferences.xul" directly in a tab and executes a search. This stored preference is also executed whenever an EME video player plugin displays a CDM-disabled message as a notification message. This vulnerability affects Firefox < 59.
Weakness: CWE-200
Which versions are affected by CVE-2018-5133?
It affects 2 products.
Products include Canonical Ubuntu Linux, Mozilla Firefox.
How do I fix CVE-2018-5133?
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-2018-5133 being exploited?
There is no known exploitation of CVE-2018-5133 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as GHSA-9rwp-r33f-q36c, UBUNTU-CVE-2018-5133.