Type confusion in Mozilla Firefox - CVE-2018-5156

 

Type confusion in Mozilla Firefox - CVE-2018-5156

Published: June 27, 2018


Vulnerability identifier: #VU13482
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-5156
CWE-ID: CWE-843
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 when capturing a media stream when the media source type is changed as the capture is occurring. A remote unauthenticated attacker can trick the victim into visiting a specially crafted website, trigger type confusion and execute arbitrary code with elevated privileges.

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


Affected software

Mozilla Firefox
Firefox ESR
Gentoo Linux
Debian Linux
Arch Linux
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 Scientific Computing
Red Hat Enterprise Linux for Power
Ubuntu
Opensuse
SUSE Linux
openSUSE Leap
firefox (Ubuntu package)
Mozilla Thunderbird

How to mitigate CVE-2018-5156

Update to version 61.0.

Mozilla Firefox - update to 61.0
Mozilla Thunderbird - update to 60.0
firefox (Ubuntu package) - addressed in versions 61.0+build3-0ubuntu0.14.04.2, 61.0+build3-0ubuntu0.16.04.2, 61.0+build3-0ubuntu0.17.10.1, 61.0+build3-0ubuntu0.18.04.1

External References

Related Security Bulletins