===================================================================== CERT-Renater Note d'Information No. 2007/VULN546 _____________________________________________________________________ DATE : 26/12/2007 HARDWARE PLATFORM(S) : / OPERATING SYSTEM(S) : Solaris running Apache v1.3, Apache 2.0. ====================================================================== Sun(sm) Alert Notification * Sun Alert ID: 103179 * Synopsis: Security Vulnerabilities in the Apache 1.3 and 2.0 Web Server Daemon and "mod_status" Module May Lead to Cross Site Scripting (XSS) or Denial of Service (DoS). * Category: Security * Product: Solaris 9 Operating System, Solaris 10 Operating System, Solaris 8 Operating System * BugIDs: 6602661, 6602665 * Avoidance: Patch, Workaround * State: Workaround * Date Released: 21-Dec-2007 * Date Closed: * Date Modified: 1. Impact Two security vulnerabilities exist in the Apache HTTP server which may affect the Apache 2.0 web server bundled with Solaris 10 and the Apache 1.3 web server bundled with Solaris 8, Solaris 9 and Solaris 10. The first issue, a Cross Site Scripting (CSS or XSS) vulnerability in the "mod_status" Apache server module (CVE-2006-5752), may allow a local or remote unprivileged user to inject arbitrary web script or HTML. This may allow an unprivileged user to bypass access control and gain access to unauthorized data. The second issue, a vulnerability in the Apache HTTP server daemon (CVE-2007-3304), may allow a local user to send signals to an arbitrary process resulting in a Denial of Service (DoS). Additional information regarding these issues is available at: The Change Log for Apache 2.0, at: * http://www.apache.org/dist/httpd/CHANGES_2.0 The Change Log for Apache 1.3, at: * http://www.apache.org/dist/httpd/CHANGES_1.3 CVE-2006-5752 at: * http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5752 CVE-2007-3304 at: * http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3304 2. Contributing Factors These issues can occur in the following releases: SPARC Platform * Solaris 8 * Solaris 9 * Solaris 10 without patches 120543-10 and 122911-08 x86 Platform * Solaris 8 * Solaris 9 * Solaris 10 without patches 120544-10 and 122912-08 A system is only vulnerable to the described issues if the Apache 1.3 web server and/or Apache 2.0 web server has been configured and is running on the system. To determine if the Apache 1.3 web server is currently running on the system, the following command can be used: $ /usr/bin/ps -ef | grep httpd nobody 103892 102307 0 Jan 20 ? 0:27 /usr/apache/bin/httpd To determine if the Solaris 10 bundled Apache 2 web server service is enabled, the following SMF command can be used: $ svcs svc:/network/http:apache2 STATE STIME FMRI disabled Feb_02 svc:/network/http:apache2 The "mod_status" vulnerability (CVE-2006-5752) only affects systems which make use of the Apache Server Status module (mod_status) and the option "ExtendedStatus" is enabled. To determine if a system is using the Apache Server Status module (mod_status), the following command can be run for all of the configuration files that define the running Apache 1.3 and Apache 2 configuration: $ grep SetHandler /etc/apache/httpd.conf | grep server-status SetHandler server-status $ grep SetHandler /etc/apache2/httpd.conf | grep server-status SetHandler server-status To determine if the option "ExtendedStatus" is enabled, the following command can be run for all of the configuration files that define the running Apache 1.3 and Apache 2 configuration: $ grep ExtendedStatus /etc/apache/httpd.conf ExtendedStatus On $ grep ExtendedStatus /etc/apache2/httpd.conf ExtendedStatus On 3. Symptoms There are no predictable symptoms that would indicate the described issues have been exploited on a system. 4. Relief/Workaround To work around the "mod_status issue" (CVE-2006-5752), disable the "ExtendedStatus" entry in the Apache "httpd.conf" file. There is no workaround for the Apache Web Server daemon issue (CVE-2007-3304). 5. Resolution These issues are addressed in the following releases: SPARC Platform * Solaris 10 with patches 120543-10 and 122911-08 or later x86 Platform * Solaris 10 with patches 120544-10 and 122912-08 or later A final resolution is pending completion. 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 re'fe'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 + =========================================================