(Pwn2Own) Apple Safari WebSQL optimize Type Confusion Remote Code Execution Vulnerability

2017-05-30T00:00:00
ID ZDI-17-366
Type zdi
Reporter Chaitin Security Research Lab
Modified 2017-05-30T00: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 WebSQL. The issue results from the lack of proper validation of user-supplied data, which can result in a type confusion condition. An attacker can leverage this vulnerability to execute code under the context of the current process.