===================================================================== CERT-Renater Note d'Information No. 2007/VULN133 _____________________________________________________________________ DATE : 21/03/2007 HARDWARE PLATFORM(S) : / OPERATING SYSTEM(S) : Systems running Sun Java System Web Server. ====================================================================== 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: 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. 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 Java System Web Server 6.1 Service Pack 7 is available at: http://www.sun.com/download/products.xml?id=45c90ca9 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 ====================================================================== ========================================================= Les serveurs de référence du CERT-Renater http://www.urec.fr/securite http://www.cru.fr/securite http://www.renater.fr ========================================================= + CERT-RENATER | tel : 01-53-94-20-44 + + 151 bd de l'Hopital | fax : 01-53-94-20-41 + + 75013 Paris | email: certsvp@renater.fr + =========================================================