Apple QuickTime JPEG 2000 Integer Underflow (Jan 18, 2012)

By

QuickTime is an extensible proprietary multimedia framework developed by Apple Inc. It is capable of handling various formats of digital video, picture, sound, panoramic images, and interactivity, including JPEG 2000 media data. QuickTime is integrated with Mac OS X, and it also supports Microsoft Windows.

JPEG 2000 is an image compression standard and coding system. The JPEG 2000 specification was designed as a replacement to the original JPEG standard, providing features such as efficient variable quality decoding, and efficient low-resolution decoding. The standardized filename extension for JPEG 2000 data is .jp2 for ISO/IEC 15444-1 conforming files and .jpx for the extended part-2 specifications, published as ISO/IEC 15444-2. JPEG 2000 data is stored in codestreams.

A codestream is a bit-sequence containing all information required for the decoding of an image, and consists of a main header, a sequence of tile-parts (which contain the actual image data), and finishes with an end-of-codestream (EOC) marker. A tile-part consists of a tile-part header and tile-part data. The main header of a codestream is composed by the following markers:

 | SOC | SIZ | COD | COC | QCD | QCC | RGN | POD | PPM | TLM | PLM | CME | 

A vulnerability exists in Apple QuickTime when processing invalid JPEG 2000 marker and its contents from JP2 files. Specifically, the vulnerability is due to an integer underflow when calculating with one of the content values. A remote attacker may exploit this vulnerability to inject and execute malicious code in the target system. And the malicious code will be executed in the security context of the target user.

SonicWALL UTM team has researched this vulnerability and released the following IPS signature to cover the attack attempts addressing this vulnerability.

  • 7298 Apple QuickTime JPEG 2000 COD Length Integer Underflow

This vulnerability has been referred by CVE as CVE-2011-3250.

Security News
The SonicWall Capture Labs Threat Research Team gathers, analyzes and vets cross-vector threat information from the SonicWall Capture Threat network, consisting of global devices and resources, including more than 1 million security sensors in nearly 200 countries and territories. The research team identifies, analyzes, and mitigates critical vulnerabilities and malware daily through in-depth research, which drives protection for all SonicWall customers. In addition to safeguarding networks globally, the research team supports the larger threat intelligence community by releasing weekly deep technical analyses of the most critical threats to small businesses, providing critical knowledge that defenders need to protect their networks.