Use-after-free in Mozilla Firefox - CVE-2017-5404

 

Use-after-free in Mozilla Firefox - CVE-2017-5404

Published: March 7, 2017 / Updated: September 14, 2018


Vulnerability identifier: #VU5925
CSH Severity: High
CVSS v4.0: 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/E:P/U:Amber
CVE-ID: CVE-2017-5404
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Mozilla
Affected software:
Mozilla Firefox

Detailed vulnerability description

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

The vulnerability exists due to use-after-free error when handling ranges in selections with one node inside a native anonymous tree and one node outside of it.. A remote attacker can create a specially crafted web page, trick the victim into visiting it, trigger use-after-free error and execute arbitrary code on the target system with privileges of the current user.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


How to mitigate CVE-2017-5404

Update to Firefox 52.

Sources