CVE-2018-12375
High · 8.8CVSS
8.8
EPSS
1.8%
Published
Oct 18, 2018
CISA due date
—
Cloudanix analysis
A flaw in an older browser version could let a malicious website take over a user's computer if they visit the site.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Memory corruption flaws in the browser engine allow an attacker to write arbitrary data to process memory and potentially redirect execution to attacker-controlled code.
Why it matters to the business
Attackers can silently install malware, steal credentials or sensitive data, or take full control of a user's workstation after the user visits a malicious site, increasing incident response costs and regulatory exposure.
How an attack unfolds
An attacker hosts a specially crafted web page that triggers one of the memory-safety bugs when rendered by the vulnerable browser; with sufficient effort the corruption can be turned into arbitrary code execution, granting the attacker the same privileges as the browser process.
How to fix it
Upgrade Mozilla Firefox to version 62 or later on all affected systems; apply the corresponding Ubuntu security updates once they reference the fixed Firefox package.
How to confirm the fix worked
Confirm the installed Firefox version is 62 or newer via the about:support page or package manager output; retest any custom browser policies or enterprise deployment scripts after the update.
Typical attack path
- Attacker prepares and hosts a malicious HTML/JavaScript payload exploiting one of the memory-safety issues.
- Victim is lured to the attacker-controlled page via phishing, compromised site, or malvertising.
- Page renders in vulnerable Firefox and triggers memory corruption.
- Attacker leverages the corruption to achieve code execution and install further payloads or exfiltrate data.
How to detect it
Search web-proxy and endpoint logs for visits to domains or URLs previously associated with exploitation of this class of browser memory issues; examine crash reports containing unusual memory patterns or unexpected child processes spawned by the browser.
What your security team should do
- Prioritize patching all Firefox instances to version 62+ within the next maintenance window.
- Block or monitor outbound traffic from endpoints still running Firefox 61 or earlier.
- Review browser extension allow-lists and remove unnecessary third-party add-ons that increase attack surface.
The record
Memory safety bugs present in Firefox 61. Some of these bugs showed evidence of memory corruption and we presume that with enough effort that some of these could be exploited to run arbitrary code. This vulnerability affects Firefox < 62.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:14.04:LTS | firefox | 0 | 62.0+build2-0ubuntu0.14.04.3 |
| Ubuntu:16.04:LTS | firefox | 0 | 62.0+build2-0ubuntu0.16.04.3 |
| Ubuntu:18.04:LTS | firefox | 0 | 62.0+build2-0ubuntu0.18.04.3 |
| Ubuntu:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mozjs52 | 0 | No fix |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 92.0-1.2 |
| openSUSE:Tumbleweed | firefox-esr | 0 | 128.5.1-1.1 |
Related vulnerabilities
- CVE-2019-9810 Incorrect alias information in IonMonkey JIT compiler for Array.prototype.slice method… Also affects firefox
- CVE-2019-9788 Mozilla developers and community members reported memory safety bugs present in Firefox… Also affects firefox
- CVE-2019-9791 The type inference system allows the compilation of functions that can cause type… Also affects firefox
- CVE-2019-9792 The IonMonkey just-in-time (JIT) compiler can leak an internal JS_OPTIMIZED_OUT magic… Also affects firefox
- CVE-2018-18511 Cross-origin images can be read from a canvas element in violation of the same-origin… Also affects firefox
- CVE-2018-5124 Unsanitized output in the browser UI leaves HTML tags in place and can result in… Also affects firefox
- CVE-2018-12405 Mozilla developers and community members reported memory safety bugs present in Firefox… Also affects firefox
- CVE-2018-12388 Mozilla developers and community members reported memory safety bugs present in Firefox… Also affects firefox