Advisory Details

July 27th, 2011

WebKit ContentEditable Inline Style Remote Code Execution Vulnerability

ZDI-11-243
ZDI-CAN-1108

CVE ID CVE-2011-0232
CVSS SCORE 9, (AV:N/AC:L/Au:N/C:C/I:P/A:P)
AFFECTED VENDORS WebKit
AFFECTED PRODUCTS
TREND MICRO CUSTOMER PROTECTION Trend Micro TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID 11099. For further product information on the TippingPoint IPS: http://www.tippingpoint.com
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Webkit as utilized by either Apple Safari, or Google's Chrome browser. 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 how the library handles implicitly defined styles. When processing a specific case for a style, the application will dispatch an event. During this dispatch, code can be executed that can be used to manipulate the DOM tree causing a type-switch. This type-switch can lead to code execution under the context of the application.

ADDITIONAL DETAILS WebKit has issued an update to correct this vulnerability. More details can be found at:
http://support.apple.com/kb/HT4808
DISCLOSURE TIMELINE
  • 2011-03-31 - Vulnerability reported to vendor
  • 2011-07-27 - Coordinated public release of advisory
CREDIT J23 -- http://twitter.com/HansJ23
BACK TO ADVISORIES