__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Security Vulnerability in Processing GIF Images in the Java Runtime Environment [Sun Alert ID: 102760] January 18, 2007 18:00 GMT Number R-108 ______________________________________________________________________________ PROBLEM: A buffer overflow vulnerability in processing GIF Images in the Java Runtime Environment may allow an untrusted applet to elevate its privileges. PLATFORM: Java 2 Platform, Standard Edition DAMAGE: May allow an untrusted applet to elevate its privileges. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. May allow an untrusted applet to elevate ASSESSMENT: its privileges. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/r-108.shtml ORIGINAL BULLETIN: Sun Alert ID: 102760 http://www.sunsolve.sun.com/search/document.do?assetkey=1 -26-102760-1 ______________________________________________________________________________ [***** Start Sun Alert ID: 102760 *****] Sun(sm) Alert Notification Sun Alert ID: 102760 Synopsis: Security Vulnerability in Processing GIF Images in the Java Runtime Environment May Allow an Untrusted Applet to Elevate Privileges Category: Security Product: Java 2 Platform, Standard Edition BugIDs: 6445518 Avoidance: Patch, Upgrade State: Resolved Date Released: 16-Jan-2007 Date Closed: 16-Jan-2007 Date Modified: 1. Impact A buffer overflow vulnerability in processing GIF images in the Java Runtime Environment may 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 with the privileges of the user running the untrusted applet. Sun acknowledges with thanks, an anonymous researcher working with the Zero Day Initiative (http://www.zerodayinitiative.com/) and TippingPoint (http://www.tippingpoint.com) for bringing this issue to our attention. 2. Contributing Factors This issue can occur in the following releases (for Windows, Solaris, and Linux): JDK and JRE 5.0 Update 9 and earlier SDK and JRE 1.4.2_12 and earlier SDK and JRE 1.3.1_18 and earlier To determine the default version of the JRE on a system for Solaris and Linux, the following command can be run: % java -version Note: The above command only determines the default version. Other versions may also be installed on the system. To determine the default version of the JRE on a system for Windows: 1. Click "Start" 2. Select "Run" 3. Type "cmd" (starts a command-line) 4. At the prompt, type "java -version" 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 indicate the described issue has been exploited. Solution Summary Top 4. Relief/Workaround There is no workaround. Please see the Resolution section below. 5. Resolution This issue is addressed in the following releases (for Windows, Solaris, and Linux): * JDK and JRE 5.0 Update 10 or later * SDK and JRE 1.4.2_13 or later * SDK and JRE 1.3.1_19 or later J2SE 5.0 is available for download at the following links: * http://java.sun.com/javase/downloads/index_jdk5.jsp * http://java.com J2SE 5.0 Update 10 for Solaris is available in the following patches: * J2SE 5.0: update 10 (as delivered in patch 118666-10) * J2SE 5.0: update 10 (as delivered in patch 118667-10 (64bit)) * J2SE 5.0_x86: update 10 (as delivered in patch 118668-10) * J2SE 5.0_x86: update 10 (as delivered in patch 118669-10 (64bit)) J2SE 1.4.2 is available for download at: * http://java.sun.com/j2se/1.4.2/download.html J2SE 1.3.1 is available for download at: * http://java.sun.com/j2se/1.3/download.html Note: When installing a new version of the product from a source other than a Solaris patch, it is recommended that the old 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-2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved. [***** End Sun Alert ID: 102760 *****] _______________________________________________________________________________ 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) R-098: OpenOffice.org Security Update R-099: Opera Web Browser Heap Corruption Vulnerability R-100: Opera Web Browser Object Typecasting Vulnerability R-101: Multiple Vulnerabilities in Cisco Secure Access Control Server R-102: Vulnerability in Microsoft Outlook (925938) R-103: Vulnerability in Vector Markup Language (929969) R-104: Vulnerabilities in Microsoft Excel (927198) R-105: XFree86 and xorg-x11 Security Update R-106: libgsf Security Update R-107: HP OpenView Network Node Manager (OV NNM) Remote Unauthorized Execution of Arbitrary Code