Advisory Details

March 2nd, 2011

Apple Webkit Error Message Mutation Remote Code Execution Vulnerability

ZDI-11-095
ZDI-CAN-982

CVE ID CVE-2010-1824
CVSS SCORE 9.7, (AV:N/AC:L/Au:N/C:C/I:P/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 10890. 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 Safari'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 within the methodology the application takes to inform a user about an error while parsing a malformed document. When displaying the error message, the application will append the message to the current instance of the DOM tree causing another element to be removed which will lead to the styles being recalculated. When the styles are recalculated the application will access the initially freed element which can lead to code execution under the context of the application.

VENDOR RESPONSE Apple has issued an update to correct this vulnerability. More details can be found at:
http://support.apple.com/kb/HT4554
DISCLOSURE TIMELINE
  • 2010-10-18 - Vulnerability reported to vendor
  • 2011-03-02 - Coordinated public release of advisory
CREDIT wushi of team509
BACK TO ADVISORIES