Advisory Details

July 26th, 2018

(Pwn2Own) Apple Safari SVG Heap-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-18-781
ZDI-CAN-5828

CVE ID CVE-2018-4199
CVSS SCORE 6.8, AV:N/AC:M/Au:N/C:P/I:P/A:P
AFFECTED VENDORS Apple
AFFECTED PRODUCTS Safari
TREND MICRO CUSTOMER PROTECTION Trend Micro TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID ['30821']. For further product information on the TippingPoint IPS: http://www.tippingpoint.com
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 SVG elements. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. 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/en-ca/HT208849
DISCLOSURE TIMELINE
  • 2018-02-20 - Vulnerability reported to vendor
  • 2018-07-26 - Coordinated public release of advisory
  • 2018-12-20 - Advisory Updated
CREDIT MWR Labs - Alex Plaskett
Georgi Geshev
Fabian Beterke
BACK TO ADVISORIES