__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN JRE Untrusted Applet Privilege Elevation [Sun Alert ID: 102171] February 8, 2006 19:00 GMT Number Q-118 ______________________________________________________________________________ PROBLEM: Seven (7) vulnerabilities with the use of "reflection" APIs in the Java Runtime Environment were discovered. PLATFORM: The first issue can occur in the following releases (for Windows, Solaris and Linux): JDK and JRE 5.0 Update 3 and earlier SDK and JRE 1.4.2_08 and earlier SDK and JRE 1.3.1_16 and earlier The second and third issues can occur in the following releases (for Windows, Solaris, and Linux): JDK and JRE 5.0 Update 4 and earlier SDK and JRE 1.4.2_09 and earlier Note: SDK and JRE 1.3.x are not affected. The fourth issue can occur in the following releases (for Windows, Solaris, and Linux): JDK and JRE 5.0 Update 4 and earlier Note: SDK and JRE 1.4.x and 1.3.x are not affected. The fifth, sixth, and seventh issues can occur in the following releases (for Windows, Solaris, and Linux): JDK and JRE 5.0 Update 5 and earlier Note: SDK and JRE 1.4.x and 1.3.x are not affected. DAMAGE: Seven (7) vulnerabilities with the use of "reflection" APIs in the Java Runtime Environment may independently allow an untrusted applet to elevate its privileges. For example an applet may grant itself permissions to read and write local files or execute local applications that are accessible to the user running the untrusted applet. SOLUTION: Apply the available security updates. ______________________________________________________________________________ VULNERABILITY The risk is HIGH. Exploiting this vulnerability may allow an ASSESSMENT: attacker to gain root privileges. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/q-118.shtml ORIGINAL BULLETIN: http://sunsolve.sun.com/search/document.do?assetkey=1-26- 102171-1&searchclause=security CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= ______________________________________________________________________________ [***** Start Sun Alert ID: 102171 *****] Document Audience: PUBLIC Document ID: 102171 Title: Security Vulnerabilities in the Java Runtime Environment may Allow an Untrusted Applet to Elevate its Privileges Copyright Notice: Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved Update Date: Tue Feb 07 00:00:00 MST 2006 ------------------------------------------------------------------------------- - Status Issued Description Top Sun(sm) Alert Notification Sun Alert ID: 102171 Synopsis: Security Vulnerabilities in the Java Runtime Environment may Allow an Untrusted Applet to Elevate its Privileges Category: Security Product: Java 2 Platform, Standard Edition BugIDs: 6277246, 6316316, 6316314, 6316322, 6343309, 6343350, 6343342 Avoidance: Upgrade State: Resolved Date Released: 07-Feb-2006 Date Closed: 07-Feb-2006 Date Modified: 1. Impact Seven (7) vulnerabilities with the use of "reflection" APIs in the Java Runtime Environment may independently allow an untrusted applet to elevate its privileges. For example an applet may grant itself permissions to read and write local files or execute local applications that are accessible to the user running the untrusted applet. Sun acknowledges, with thanks, Adam Gowdiak, for bringing five of the seven issues to our attention. 2. Contributing Factors The first issue can occur in the following releases (for Windows, Solaris and Linux): JDK and JRE 5.0 Update 3 and earlier SDK and JRE 1.4.2_08 and earlier SDK and JRE 1.3.1_16 and earlier The second and third issues can occur in the following releases (for Windows, Solaris, and Linux): JDK and JRE 5.0 Update 4 and earlier SDK and JRE 1.4.2_09 and earlier Note: SDK and JRE 1.3.x are not affected. The fourth issue can occur in the following releases (for Windows, Solaris, and Linux): JDK and JRE 5.0 Update 4 and earlier Note: SDK and JRE 1.4.x and 1.3.x are not affected. The fifth, sixth, and seventh issues can occur in the following releases (for Windows, Solaris, and Linux): JDK and JRE 5.0 Update 5 and earlier Note: SDK and JRE 1.4.x and 1.3.x are not affected. To determine the default version of the JRE on a system: For Windows: Click "Start" Select "Run" Type "cmd" At the prompt, type "java -fullversion" For Solaris and Linux: % java -fullversion java full version "1.5.0_02-b09" Note: The above command only determines the default version. Other versions may also be installed on the system. 3. Symptoms There are no reliable symptoms that would show the described issues have been exploited. Solution Summary Top 4. Relief/Workaround There is no workaround. Please see the "Resolution" section below. 5. Resolution The first issue is addressed in the following releases: JDK and JRE 5.0 Update 4 and later SDK and JRE 1.4.2_09 and later SDK and JRE 1.3.1_17 and later The second and third issues are addressed in the following releases: JDK and JRE 5.0 Update 5 and later SDK and JRE 1.4.2_10 and later The fourth issue is addressed in the following releases: JDK and JRE 5.0 Update 5 and later The fifth, sixth, and seventh issues are addressed in the following releases: JDK and JRE 5.0 Update 6 and later J2SE 5.0 is available for download at: http://java.sun.com/j2se/1.5.0/download.jsp http://java.com J2SE 1.4.2 is available for download at: http://java.sun.com/j2se/1.4.2/download.html Note: It is recommended that affected versions be removed from your system. For more information, please see the installation notes on the respective java.sun.com download pages. This Sun Alert notification is being provided to you on an "AS IS" basis. This Sun Alert notification may contain information provided by third parties. The issues described in this Sun Alert notification may or may not impact your system(s). Sun makes no representations, warranties, or guarantees as to the information contained herein. ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN. This Sun Alert notification contains Sun proprietary and confidential information. It is being provided to you pursuant to the provisions of your agreement to purchase services from Sun, or, if you do not have such an agreement, the Sun.com Terms of Use. This Sun Alert notification may only be used for the purposes contemplated by these agreements. Copyright 2000-2005 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved. [***** End Sun Alert ID: 102171 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Sun Microsystems for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) Q-108: Wine Q-109: Security Vulnerabilities in Sun StorEdge Enterprise Backup Software (EBS) Q-110: ImageMagick Q-111: HP Tru64 UNIX Running DNS BIND Q-112: Mozilla Security Update Q-113: Firefox Security Update Q-114: Security Vulnerability in Sun Java System Access Manager Q-115: Microsoft IE5 WMF Security Advisory Q-116: Possible Vulnerability in Windows Service ACLs Q-117: Java Web Start Vulnerability