Off-by-one in Mozilla Firefox and Firefox ESR - CVE-2018-12387

 

Off-by-one in Mozilla Firefox and Firefox ESR - CVE-2018-12387

Published: October 3, 2018


Vulnerability identifier: #VU15150
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-12387
CWE-ID: CWE-193
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to an off-by-one error within the JavaScript JIT compiler when processing Array.prototype.push with multiple arguments. A remote attacker can create a specially crafted web page, trick the victim into visiting it, trigger an off-by-eight error and execute arbitrary code on the target system inside the sandboxed content process.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Mozilla Firefox
Firefox ESR
Gentoo Linux
Arch Linux
Debian Linux
Red Hat Enterprise Linux for Power
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for ARM
Slackware Linux
Opensuse

How to mitigate CVE-2018-12387

Install updates from vendor's website.

Mozilla Firefox - update to 62.0.3
Firefox ESR - update to 60.2.2

External References

Related Security Bulletins