Apple Safari Array.slice Out-Of-Bounds Access Remote Code Execuction Vulnerability

2016-08-18T00:00:00
ID ZDI-16-485
Type zdi
Reporter Samuel Groß
Modified 2016-11-09T00:00:00

Description

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 Array.slice. The issue lies in the failure to ensure that an array's length has not changed during processing of user-supplied arguments. An attacker can leverage this vulnerability to execute code within the context of the current process.