Public Vulnerability Reports

Oracle Java Soundbank Heap Buffer Overflow Vulnerability

08.06.11

BACKGROUND

Java Runtime Environment (JRE) is a platform that supports the execution of programs that are developed using the Java programming language. It is available for multiple platforms, including Windows, Linux and MacOS. The JRE platform also supports Java Applets which can be loaded from Web pages. For more information, visit the link shown below.

http://www.java.com/en/about/

DESCRIPTION

Remote exploitation of a heap buffer overflow vulnerability in Oracle Corp.'s Java Runtime Environment (JRE) could allow an attacker to execute arbitrary code with the privileges of the current user.

During the processing of a Soundbank file, user-controlled data is parsed within certain resources. A pointer to a fixed sized heap buffer and a user-controlled length value are extracted from these resources. A certain function uses this length value in conjunction with a loop operation to perform indexing within the fixed sized buffer. A large length value may result in the fixed size buffer being overflown with user-controlled data. This condition can allow a remote attacker to subvert execution control and execute arbitrary code.

ANALYSIS

Exploitation of this vulnerability results in the execution of arbitrary code with the privileges of the current user. In order to exploit this vulnerability, a user must load a web page containing a specially crafted Java applet. An attacker typically accomplishes this via social engineering or injecting content into compromised, trusted sites. Typical social engineering attacks will pass URLs as part of instant messages or electronic mail.

DETECTION

Java SE is vulnerable. JDK and JRE 6 Update 25 and earlier, JDK 5.0 Update 29 and earlier and SDK 1.4.2_31 and earlier are vulnerable.

WORKAROUND

It is possible to disable the Java plugin in Internet Explorer, Firefox, Safari, Opera and Google Chrome.

VENDOR RESPONSE

Oracle Corp. has released a patch which addresses this issue. For more information, consult their advisory at the following URL.

http://www.oracle.com/technetwork/topics/security/javacpujune2011-3133 39.html

CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2011-0802 to this issue. This is a candidate for inclusion in the CVE list (http://cve.mitre.org/), which standardizes names for security problems.

DISCLOSURE TIMELINE

12/15/2010 Initial Vendor Notification
12/15/2010 Initial Vendor Reply
06/08/2011 Coordinated Public Disclosure

CREDIT

This vulnerability was reported to iDefense by binaryproof.

Get paid for vulnerability research
http://labs.idefense.com/methodology/vulnerability/vcp.php

Free tools, research and upcoming events
http://labs.idefense.com/

LEGAL NOTICES

Copyright © 2011 Verisign, Inc.

Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDefense. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please e-mail customer service for permission.

Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.