Apple Safari Array Indexing Remote Code Execution Vulnerability

2013-05-30T00:00:00
ID ZDI-13-107
Type zdi
Reporter Vitaliy Toropov
Modified 2013-11-09T00:00:00

Description

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Webkit. 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 JSArray objects. The issue lies in the usage of a custom sort comparison function. By manipulating a JSArray object an attacker can force controlled memory to be accessed. An attacker can lever this vulnerability to execute code under the context of the current process.