Advisory Details

April 6th, 2018

Apple Safari TypedArray Use-After-Free Remote Code Execution Vulnerability

ZDI-18-272
ZDI-CAN-5387

CVE ID CVE-2018-4129
CVSS SCORE 6.8, AV:N/AC:M/Au:N/C:P/I:P/A:P
AFFECTED VENDORS Apple
AFFECTED PRODUCTS Safari
VULNERABILITY DETAILS


This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Apple Safari. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the handling of TypedArray objects. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to execute code under the context of the current process.

ADDITIONAL DETAILS Apple has issued an update to correct this vulnerability. More details can be found at:
https://support.apple.com/kb/HT201222
DISCLOSURE TIMELINE
  • 2017-12-21 - Vulnerability reported to vendor
  • 2018-04-06 - Coordinated public release of advisory
  • 2018-04-06 - Advisory Updated
CREDIT likemeng of Baidu Security Lab
BACK TO ADVISORIES