-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                        ESB-2007.1047 -- [Solaris]
 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).
                             18 February 2008

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:              Apache
Publisher:            Sun Microsystems
Operating System:     Solaris
Impact:               Cross-site Scripting
                      Denial of Service
Access:               Remote/Unauthenticated
CVE Names:            CVE-2007-3304 CVE-2006-5752

Ref:                  AA-2007.0078
                      ESB-2007.0468

Original Bulletin:    
http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-66-200032-1

Revision History:  February 18 2008: Patches released
                   January  15 2008: Updated the Contributing Factors 
                                     section listing the Solaris 9 
                                     vulnerable systems. Updated the 
                                     resolution section listing the 
                                     available patches for Solaris 9.
                   December 24 2007: Initial Release

- --------------------------BEGIN INCLUDED TEXT--------------------

Solution Type: Sun Alert
   Solution  200032 :   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).          
   Previously Published As: 103179

   Product
Solaris 9 Operating System
Solaris 10 Operating System
Solaris 8 Operating System

   Bug ID: 6602661, 6602665

   Date of Workaround Release: 21-DEC-2007

   Date of Resolved Release: 15-Feb-2008

   SA Document Body
Two security vulnerabilities exist in the Apache HTTP server which may affect t
he Apache 2.0 web server (see below for details)

   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 without patch 116973-06
     * Solaris 9 without patch 113146-09
     * Solaris 10 without patches 120543-10 and 122911-08

   x86 Platform
     * Solaris 8 without patch 116974-06
     * Solaris 9 without patch 114145-08
     * 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. 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 8 with patch 116973-06 or later
     * Solaris 9 with patch 113146-09 or later
     * Solaris 10 with patches 120543-10 and 122911-08 or later

   x86 Platform
     * Solaris 8 with patch 116974-06 or later
     * Solaris 9 with patch 114145-08 or later
     * Solaris 10 with patches 120544-10 and 122912-08 or later

   Modification History
15-Feb-2008: now Resolved
11-JAN-2007: Updated Contributint Factors and Resolution sections


- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBR7ja2yh9+71yA2DNAQK8OgP/ROCpYngfkrgxbRPyA6iIawgnyT/AGfbr
F6BjNFj7gXlIb42cp64X9DHNj4bFQcL4ZSRAmg/nOUN7s3Id9Q/9voNzq+fPEuxU
6XUhKtpqyDENv6iWPsWDQy3vIsWOV8RcCIspRlLEmtoV22Hf7UViiMjvvWX9xcRZ
5S7KWx4cbjc=
=eqJ8
-----END PGP SIGNATURE-----