Advisory Details

June 8th, 2010

Apple Webkit ContentEditable moveParagraphs Uninitialized Element Remote Code Execution Vulnerability

ZDI-10-097
ZDI-CAN-686

CVE ID CVE-2010-1398
CVSS SCORE 10.0, AV:N/AC:L/Au:N/C:C/I:C/A:C
AFFECTED VENDORS Apple
AFFECTED PRODUCTS WebKit
TREND MICRO CUSTOMER PROTECTION Trend Micro TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID ['9850']. 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 Apple's Webkit. User interaction is required in that a user must be coerced into visiting a malicious website.

The specific flaw exists within the way Webkit inserts an element into an editable container. Immediately before the actual insertion the library will manipulate the contents of the field in order to insert the new node. Upon traversal of the tree by the library, the application will attempt to access an uninitialized element that was created prior to the insertion. Successful exploitation 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-18 - Vulnerability reported to vendor
  • 2010-06-08 - Coordinated public release of advisory
CREDIT wushi of team509
BACK TO ADVISORIES