Advisory Details

March 22nd, 2011

(Pwn2Own) Apple Safari OfficeArtBlip Parsing Remote Code Execution Vulnerability

ZDI-11-109
ZDI-CAN-1156

CVE ID CVE-2011-1417
CVSS SCORE 9.7, AV:N/AC:L/Au:N/C:C/I:C/A:P
AFFECTED VENDORS Apple
AFFECTED PRODUCTS Safari
TREND MICRO CUSTOMER PROTECTION Trend Micro TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID ['10639']. 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 on the iPhone. 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 support for parsing Office files. When handling the OfficeArtMetafileHeader the process trusts the cbSize field and performs arithmetic on it before making an allocation. As the result is not checked for overflow, the subsequent allocation can be undersized. Later when copying into this buffer, memory can be corrupted leading to arbitrary code execution under the context of the mobile user on the iPhone.

ADDITIONAL DETAILS Apple has issued an update to correct this vulnerability. More details can be found at:
http://support.apple.com/kb/HT4581
DISCLOSURE TIMELINE
  • 2011-03-09 - Vulnerability reported to vendor
  • 2011-03-22 - Coordinated public release of advisory
CREDIT Charlie Miller and Dion Blazakis
BACK TO ADVISORIES