Advisory Details

August 11th, 2010

Apple Webkit Button First-Letter Style Rendering Remote Code Execution Vulnerability

ZDI-10-154
ZDI-CAN-791

CVE ID CVE-2010-1392
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 ['10148']. 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. Authentication is not required to exploit this vulnerability. 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 Webkit's support of the 'first-letter' css style. If a particular container has the first-letter style applied to it, the library will create a dual reference of text associated with the style for rendering. Later upon repainting or style recalculation, the application will access the freed memory which can lead to code execution under the context of the application.

ADDITIONAL DETAILS

this issue was fixed in Safari 5.0
http://support.apple.com/kb/HT4196


DISCLOSURE TIMELINE
  • 2010-06-01 - Vulnerability reported to vendor
  • 2010-08-11 - Coordinated public release of advisory
CREDIT wushi of team509
BACK TO ADVISORIES