Remote code execution in Mozilla Firefox and Firefox ESR

Published: 2018-03-16
Severity High
Patch available YES
Number of vulnerabilities 2
CVE ID CVE-2018-5146
CVE-2018-5147
CWE ID CWE-787
Exploitation vector Network
Public exploit N/A
Vulnerable software Mozilla Firefox Subscribe
Vendor Mozilla

Security Advisory

1) Buffer overflow

Severity: High

CVSSv3: 8.3 [CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C] [PCI]

CVE-ID: CVE-2018-5146

CWE-ID: CWE-787 - Out-of-bounds Write

Description

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

The vulnerability exists due to boundary error when processing Vorbis audio within libvorbis library. A remote unauthenticated attacker can create a specially crafted HTML page, trick the victim into opening it, trigger out-of-bounds write and execute arbitrary code on the target system.

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

Mitigation

Update to version Firefox 59.0.1 or Firefox ESR 52.7.2.

Vulnerable software versions

Mozilla Firefox: 58.0, 58.0.1, 58.0.2, 59.0, ESR 52.7, ESR 52.7.1

CPE External links

https://www.mozilla.org/en-US/security/advisories/mfsa2018-08/

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to trick the victim to visit a specially crafted website.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Buffer overflow

Severity: High

CVSSv3: 8.3 [CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C] [PCI]

CVE-ID: CVE-2018-5147

CWE-ID: CWE-787 - Out-of-bounds Write

Description

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

The vulnerability exists due to boundary error when processing Vorbis audio within libtremor library. A remote unauthenticated attacker can create a specially crafted HTML page, trick the victim into opening it, trigger out-of-bounds write and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system on Android and ARM platforms.

Mitigation

Update to version Firefox 59.0.1 or Firefox ESR 52.7.2.

Vulnerable software versions

Mozilla Firefox: 58.0, 58.0.1, 58.0.2, 59.0, ESR 52.7, ESR 52.7.1

CPE External links

https://www.mozilla.org/en-US/security/advisories/mfsa2018-08/

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to trick the victim to visit a specially crafted website.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.