Apple QuickTime MPEG Stream Padding Remote Code Execution VulnerabilityZDI-12-076: June 6th, 2012
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 ResponseApple has issued an update to correct this vulnerability. More details can be found at:
2011-10-21 - Vulnerability reported to vendor
2012-06-06 - Coordinated public release of advisory
CreditThis vulnerability was discovered by:
pa_kt / twitter.com/pa_kt / e1c14ba6