Advisory Details

March 15th, 2010

Apple WebKit innerHTML element Substitution Remote Code Execution Vulnerability

ZDI-10-029
ZDI-CAN-579

CVE ID CVE-2010-0047
CVSS SCORE 10.0, (AV:N/AC:L/Au:N/C:C/I:C/A:C)
AFFECTED VENDORS Google
Apple
AFFECTED PRODUCTS Chrome
Safari
WebKit
TREND MICRO CUSTOMER PROTECTION Trend Micro TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID 9590. 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 WebKit. User interaction is required to exploit this vulnerability in that the target must visit a malicious page.

The specific flaw exists in the WebCore's HTMLObjectElement::renderFallBackContent() method. By rewriting an HTML element via the document's innerHTML() method a memory corruption occurs resulting from a call-after-free. This can be leveraged to execute arbitrary code under the context of the current user.

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