Executive Summary

Summary
Title Apple QuickTime JPEG2000 heap buffer overflow
Informations
Name VU#309873 First vendor Publication 2010-12-08
Vendor VU-CERT Last vendor Modification 2010-12-08
Severity (Vendor) N/A Revision M

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:P/I:P/A:P)
Cvss Base Score 6.8 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Medium
Cvss Expoit Score 8.6 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Vulnerability Note VU#309873

Apple QuickTime JPEG2000 heap buffer overflow

Overview

Apple QuickTime contains a heap buffer overflow in the processing of JPEG2000 data, which can allow a remote, unauthenticated attacker to execute arbitrary code on a vulnerable system.

I. Description

Apple's QuickTime Player is multimedia software that allows users to view local and remote audio, video, and image content. QuickTime contains a heap buffer overflow in the code that handles JPEG2000 data.

This vulnerability may be triggered by using the QuickTime Player or an application that uses the QuickTime plug-in, such as a web browser.

Note that this issue affects QuickTime installations on both Apple Mac and Windows operating systems.

II. Impact

By causing QuickTime to process specially crafted JPEG2000 data (e.g. by viewing a web page, HTML email message or attachment, or by opening an image or video file), an attacker may be able to execute arbitrary code with the privileges of the user.

III. Solution

Apply an update

This issue is addressed in Apple Mac OS X v10.6.5 and Security Update 2010-007 as well as QuickTime 7.6.9.

Disable the QuickTime ActiveX controls in Internet Explorer

The vulnerable QuickTime ActiveX controls can be disabled in Internet Explorer by setting the kill bit for the following CLSIDs:

    {02BF25D5-8C17-4B23-BC80-D3488ABDDC6B}
    {4063BE15-3B08-470D-A0D5-B37161CFFD69}
More information about how to set the kill bit is available in Microsoft Support Document 240797. Alternatively, the following text can be saved as a .REG file and imported to set the kill bit for these controls:
    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINESOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{02BF25D5-8C17-4B23-BC80-D3488ABDDC6B}]
    "Compatibility Flags"=dword:00000400
    [HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftInternet ExplorerActiveX Compatibility{02BF25D5-8C17-4B23-BC80-D3488ABDDC6B}]
    "Compatibility Flags"=dword:00000400

    [HKEY_LOCAL_MACHINESOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{4063BE15-3B08-470D-A0D5-B37161CFFD69}]
    "Compatibility Flags"=dword:00000400
    [HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftInternet ExplorerActiveX Compatibility{4063BE15-3B08-470D-A0D5-B37161CFFD69}]
    "Compatibility Flags"=dword:00000400
Disable the QuickTime plug-in for Mozilla-based browsers

Users of Mozilla-based browsers, such as Firefox can disable the QuickTime plugin, as specified in the PluginDoc article Uninstalling Plugins.

Disable file association for QuickTime files

Disable the file association for QuickTime file types to help prevent windows applications from using Apple QuickTime to open QuickTime files. This can be accomplished by deleting the following registry keys:
    HKEY_CLASSES_ROOTQuickTime.*
This will remove the association for approximately 32 file types that are configured to open with the QuickTime Player software.

Disable JavaScript

For instructions on how to disable JavaScript, please refer to the Securing Your Web Browser document. This can help prevent some attack techniques that use the QuickTime plug-in or ActiveX control.

Do not access QuickTime files from untrusted sources

Attackers may host malicious QuickTime files on web sites. In order to convince users to visit their sites, those attackers often use a variety of techniques to create misleading links including URL encoding, IP address variations, long URLs, and intentional misspellings. Do not click on unsolicited links received in email, instant messages, web forums, or internet relay chat (IRC) channels. Type URLs directly into the browser to avoid these misleading links. While these are generally good security practices, following these behaviors will not prevent exploitation of this vulnerability in all cases, particularly if a trusted site has been compromised or allows cross-site scripting.

Vendor Information

VendorStatusDate NotifiedDate Updated
Apple Inc.Affected2010-11-052010-12-08

References

http://www.us-cert.gov/reading_room/securing_browser/
http://support.apple.com/kb/HT4435
http://support.apple.com/kb/HT4447
http://support.microsoft.com/kb/240797
http://plugindoc.mozdev.org/faqs/uninstall.html

Credit

This vulnerability was discovered by Will Dormann of the CERT/CC. It was also independently discovered by Nils of MWR InfoSecurity

This document was written by Will Dormann.

Other Information

Date Public:2010-11-10
Date First Published:2010-12-08
Date Last Updated:2010-12-08
CERT Advisory: 
CVE-ID(s):CVE-2010-3787
NVD-ID(s):CVE-2010-3787
US-CERT Technical Alerts: 
Severity Metric:27.97
Document Revision:5

Original Source

Url : http://www.kb.cert.org/vuls/id/309873

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-119 Failure to Constrain Operations within the Bounds of a Memory Buffer

CPE : Common Platform Enumeration

TypeDescriptionCount
Os 5
Os 5

OpenVAS Exploits

Date Description
2011-09-07 Name : Mac OS X v10.6.4 Multiple Vulnerabilities (2010-007)
File : nvt/gb_macosx_su10-007.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
69313 Apple Mac OS X QuickTime Crafted JP2 Image Handling Overflow

Apple Mac OS X QuickTime is prone to an overflow condition. The QuickTime feature fails to properly sanitize user-supplied input resulting in a heap-based buffer overflow. With a specially crafted JP2 image, a context-dependent attacker can potentially cause denial of service or allow execution of arbitrary code.

Nessus® Vulnerability Scanner

Date Description
2010-12-07 Name : The remote Mac OS X host contains an application that is affected by multiple...
File : macosx_Quicktime769.nasl - Type : ACT_GATHER_INFO
2010-12-07 Name : The remote Windows host contains an application that is affected by multiple ...
File : quicktime_769.nasl - Type : ACT_GATHER_INFO
2010-11-10 Name : The remote host is missing a Mac OS X update that fixes various security issues.
File : macosx_10_6_5.nasl - Type : ACT_GATHER_INFO