Apple Webkit ProcessInstruction Target Error Message Insertion Remote Code Execution Vulnerability
Vulnerability Details
This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Apple's 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 with how WebKit inserts error messages into documents utilizing the SVG namespace. Upon a parsing error the library will attempt to access an element before repairing the XML. This will cause the library to access uninitialized memory which can lead to code execution under the context of the application.
Additional Details
Apple has issued an update to correct this vulnerability. More details can be found at:
http://support.apple.com/kb/HT4196
Disclosure Timeline
- 2010-02-23 - Vulnerability reported to vendor
- 2010-06-08 - Coordinated public release of advisory
Credit
wushi of team509