Apple Webkit SelectionController via Marquee Event Remote Code Execution Vulnerability

ID ZDI-10-094
Type zdi
Reporter wushi of team509
Modified 2010-06-22T00:00:00


This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Apple's Webkit. User interaction is required in that a user must be coerced into viewing a website. The specific flaw exists within the way the library handles selections. If a particular element is selected by the application, an event can be triggered in order to interrupt execution handling a component of the selection. By modification of the elements contained in the selection by the interruption, an attacker can substitute contents of their own choosing in their place. This type switch can lead to code execution under the context of the application.