__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Sun Java System Web Server Vulnerability [Sun Alert ID: 102822] March 15, 2007 19:00 GMT Number R-179 [REVISED 25 Apr 2007] [REVISED 15 June 2007] ______________________________________________________________________________ PROBLEM: A security vulnerability in the Sun Java System Web Server may allow a local or remote user to gain authorized access to certain web server instances. PLATFORM: SPARC Platform * Sun Java System Web Server 6.1 without Service Pack 7 * Sun Java System Web Server 6.1 without patch 116648-19 x86 Platform * Sun Java System Web Server 6.1 without Service Pack 7 * Sun Java System Web Server 6.1 without patch 116649-19 Linux Platform * Sun Java System Web Server 6.1 without Service Pack 7 * Sun Java System Web Server 6.1 without patch 118202-11 AIX Platform * Sun Java System Web Server 6.1 without Service Pack 7 HP-UX Platform * Sun Java System Web Server 6.1 without Service Pack 7 * Sun ONE Web Server 6.1, HP-UX patch 121510-03 or later Important Notes: The following releases are not affected: * Sun Java System Web Server 6.0 * Sun Java System Web Server 6.1 for Windows * Sun Java System Web Server 7.0 DAMAGE: May allow a user with a revoked client certificate to access the web server instance under certain conditions even if a valid Certificate Revocation List (CRL) file is installed for the instance. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. May allow a user with a revoked client ASSESSMENT: certificate to access the web server instance under certain conditions even if a valid Certificate Revocation List (CRL) file is installed for the instance. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/r-179.shtml ORIGINAL BULLETIN: http://www.sunsolve.sun.com/search/document.do?assetkey=1 -26-102822-1 ______________________________________________________________________________ REVISION HISTORY: 04/25/2007 - revised R-179 to reflect changes in Sun Document ID: 102822 where they changed the State to Resolved. 06/15/2007 - revised R-179 to reflect changes in Sun Document ID: 102822 where they updated Resolution section for HP-UX. [***** Start Sun Alert ID: 102822 *****] Sun(sm) Alert Notification Sun Alert ID: 102822 Synopsis: Sun Java System Web Server May Allow A User with Revoked Client Certificate to Access Server Instance Under Certain Conditions Category: Security Product: Sun Java System Web Server 6.1 BugIDs: 6437635 Avoidance: Patch, Upgrade, Workaround State: Resolved Date Released: 14-Mar-2007 Date Closed: 14-Mar-2007 Date Modified: 31-May-2007 1. Impact A security vulnerability in the Sun Java System Web Server may allow a local or remote user to gain authorized access to certain web server instances. When a secure web server instance is set up as a non-root instance through the admin server and that admin server is configured to run as root, this vulnerability may allow a user with a revoked client certificate to access the web server instance under certain conditions even if a valid Certificate Revocation List (CRL) file is installed for the instance. 2. Contributing Factors This issue can occur in the following releases: SPARC Platform * Sun Java System Web Server 6.1 without Service Pack 7 * Sun Java System Web Server 6.1 without patch 116648-19 x86 Platform * Sun Java System Web Server 6.1 without Service Pack 7 * Sun Java System Web Server 6.1 without patch 116649-19 Linux Platform * Sun Java System Web Server 6.1 without Service Pack 7 * Sun Java System Web Server 6.1 without patch 118202-11 AIX Platform * Sun Java System Web Server 6.1 without Service Pack 7 HP-UX Platform * Sun Java System Web Server 6.1 without Service Pack 7 Important Notes: The following releases are not affected: * Sun Java System Web Server 6.0 * Sun Java System Web Server 6.1 for Windows * Sun Java System Web Server 7.0 This issue only affects hosts which meet the following two conditions: 1) contain a Certificate Revocation List (CRL) which matches certain criteria 2) contain server instances which run as a user that differs from the user that the admin server is configured to run as If both of these conditions are met, a directory with the following name will exist on the host and it will have permissions which do not grant access to the affected instance's user. A command such as the following can be used to determine the permissions of the directory: $ ls -l /alias/https--cert8.dir Please consult the product documentation for information on determining which user the active instances are running as. To determine the version of Sun Java System Web Server on a system, the following command can be run: $/https-/start -version 3. Symptoms There are no reliable symptoms that would indicate the described issue has occurred. Solution Summary Top 4. Relief/Workaround After importing a CRL through Web Server Admin GUI on affected systems, the following directory will be created: /alias/https--cert8.dir Manually change the permission/ownership of the cert8.dir directory and the files within it for this instance to allow the non-root instance owner to access them. 5. Resolution This issue is addressed in the following releases: SPARC Platform * Sun Java System Web Server 6.1 with Service Pack 7 or later * Sun Java System Web Server 6.1 with patch 116648-19 or later x86 Platform * Sun Java System Web Server 6.1 with Service Pack 7 or later * Sun Java System Web Server 6.1 with patch 116649-19 or later Linux Platform * Sun Java System Web Server 6.1 with Service Pack 7 or later * Sun Java System Web Server 6.1 with patch 118202-11 or later AIX Platform * Sun Java System Web Server 6.1 with Service Pack 7 or later HP-UX Platform * Sun Java System Web Server 6.1 with Service Pack 7 or later * Sun ONE Web Server 6.1, HP-UX patch 121510-03 or later Sun Java System Web Server 6.1 Service Pack 7 is available at: http://www.sun.com/download/products.xml?id=45c90ca9 Change History 31-May-2007: Updated Resolution section for HP-UX 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: 102822 *****] _______________________________________________________________________________ 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-169: EMC NetWorker Management Console Vulnerability R-170: Symantec Mail Security for SMTP Vulnerability R-171: Apple QuickTime 7.1.5 R-172: GnuPG Security Update R-173: NetMail 3.5.2E Update R-174: HP-UX Java (JRE and JDK) Vulnerability R-175: Security Vulnerability in the ipmitool(1m) Interface to Sun Fire R-176: Apple Security Update 2007-003 R-177: Linux Kernel Vulnerable to DoS via ipv6_getsockopt_sticky() Function R-178: Bind Security Update