Advisory Details

April 14th, 2010

Apple Preview libFontParser SpecialEncoding Remote Code Execution Vulnerability

ZDI-10-076
ZDI-CAN-760

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

The specific flaw exists within the routine TType1ParsingContext::SpecialEncoding() defined in libFontParser.dylib. While parsing glyphs from a PDF document, a malformed offset greater than 0x400 can result in a heap corruption which can be leveraged by an attacker to execute arbitrary code under the context of the current user.

ADDITIONAL DETAILS Apple has issued an update to correct this vulnerability. More details can be found at:
http://support.apple.com/kb/HT4131
DISCLOSURE TIMELINE
  • 2010-03-26 - Vulnerability reported to vendor
  • 2010-04-14 - Coordinated public release of advisory
CREDIT Charlie Miller
BACK TO ADVISORIES