Advisory Details

April 6th, 2018

Apple Safari Loose Comparison Operator Type Confusion Remote Code Execution Vulnerability

ZDI-18-275
ZDI-CAN-5604

CVE ID CVE-2018-4162
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 comparison operators in JIT. By performing actions in JavaScript, an attacker can trigger a type confusion condition. 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
  • 2018-01-18 - Vulnerability reported to vendor
  • 2018-04-06 - Coordinated public release of advisory
  • 2018-04-06 - Advisory Updated
CREDIT WanderingGlitch - Trend Micro Zero Day Initiative
BACK TO ADVISORIES