TippingPoint Zero Day Initiative
 

Apple QuickTime MPEG Stream Padding Remote Code Execution Vulnerability

ZDI-12-076: June 6th, 2012

CVE ID

CVSS Score

Affected Vendors

Affected Products

Vulnerability Details


This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Apple's QuickTime Player. 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 how the application calculates the padding for an MPEG sample. When calculating the padding, the MPEG library will subtract this from another length without checking for underflow. This resulting length will then be used in a memcpy operation into a statically sized buffer allocated on the heap. This 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:

Disclosure Timeline

    2011-10-21 - Vulnerability reported to vendor
    2012-06-06 - Coordinated public release of advisory

Credit

This vulnerability was discovered by:
    Anonymous
    pa_kt / twitter.com/pa_kt / e1c14ba6