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

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

                        ESB-2006.0158 -- [Solaris]
           Security Vulnerabilities in the Apache 1.3 Web Server
                              21 August 2006

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

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

Product:              Apache 1.3
Publisher:            Sun Microsystems
Operating System:     Solaris 8, 9 and 10
Impact:               Inappropriate Access
                      Execute Arbitrary Code/Commands
                      Cross-site Scripting
Access:               Remote/Unauthenticated
CVE Names:            CAN-2005-2700 CAN-2005-2088 CAN-2004-0940

Ref:                  ESB-2004.0694
                      ESB-2005.0589
                      ESB-2005.0690

Revision History:  August 21 2006: Updated contributing factors and resolution
                   June 16 2006:   Sun has released patches for Solaris 9
                   March  3 2006:  Initial Release

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

Sun(sm) Alert Notification
     * Sun Alert ID: 102197
     * Synopsis: Security Vulnerabilities in the Apache 1.3 Web Server
     * Category: Security
     * Product: Solaris 9 Operating System, Solaris 10 Operating System,
       Solaris 8 Operating System
     * BugIDs: 6204933, 6325738, 6308127
     * Avoidance: Workaround, Patch
     * State: Resolved
     * Date Released: 01-Mar-2006, 15-Aug-2006
     * Date Closed: 15-Aug-2006
     * Date Modified: 07-Mar-2006, 14-Jun-2006, 13-Jul-2006, 15-Aug-2006

1. Impact

   1. A vulnerability in the Apache 1.3 web server bundled with Solaris 8
   and 9 may allow a local user who is able to create SSI documents which
   are served by Apache to execute arbitrary code with the privileges of
   the Apache 1.3 process. The Apache HTTP process normally runs as the
   unprivileged user "nobody" (uid 60001).

   2. A second vulnerability affects the Apache 1.3 web server bundled
   with Solaris 10 which may prevent certain configured security features
   from being applied to specific HTTP transactions when Apache is
   configured to use SSL.

   3. A third vulnerability in the Apache 1.3 web server may allow local
   or remote unprivileged users to bypass security protections associated
   with some network transactions, corrupt information stored in a web
   cache, or perform cross site scripting activities when the Apache web
   server is configured to run as a proxy.

   These vulnerabilities are described at the following URLs:

   The Change Log for Apache 1.3 at
   http://www.apache.org/dist/httpd/CHANGES_1.3

   CAN-2004-0940: "allows local users[...] to execute arbitrary code"
   http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0940

   CAN-2005-2700: "does not properly enforce 'SSLVerifyClient require' "
   http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2700

   CAN-2005-2088: "HTTP Request Smuggling"
   http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2088

2. Contributing Factors

   Issue (1) described above (BugID 6204933) can occur in the following
   releases:

   SPARC Platform
     * Solaris 8 without patch 116973-03
     * Solaris 9 without patch 113146-07

   x86 Platform
     * Solaris 8 without patch 116974-03
     * Solaris 9 without patch 114145-06

   Issue (2) described above (BugID 6325738) can occur in the following
   releases:

   SPARC Platform
     * Solaris 10 without patch 122911-01

   x86 Platform
     * Solaris 10 without patch 122912-01

   Issue (3) described above (BugID 6308127) can occur in the following
   releases:

   SPARC Platform
     * Solaris 8 without patch 116973-03
     * Solaris 9 without patch 113146-07
     * Solaris 10 without patch 122911-01

   x86 Platform
     * Solaris 8 without patch 116974-03
     * Solaris 9 without patch 114145-06
     * Solaris 10 without patch 122912-01

   Note 1: A system is only vulnerable to these issues if the Apache 1.3
   web server has been configured and is running on the system. The
   following command can be executed to check if the Apache(1M) httpd
   daemon is running on the system:
    $ /usr/bin/ps -ef | grep httpd
    nobody 103892 102307  0   Jan 20 ?      0:27 /usr/apache/bin/httpd

   Apache was not bundled with Solaris prior to Solaris 8. However,
   customers who have built and/or installed a vulnerable version of
   Apache on any version of Solaris are at risk. See the Apache web site
   to download the latest version of Apache which addresses these issues.

   Note 2: The vulnerability CAN-2004-0940 is present in versions of
   Apache 1.3 prior to 1.3.33. The vulnerability CAN-2005-2088 is present
   in versions of Apache 1.3 prior to 1.3.34. The vulnerability
   CAN-2005-2700 is present when Apache 1.3 is configured to use a
   version of the 'mod_ssl' module prior to 2.8.24.

   To determine the version of the Apache 1.3 web server installed on a
   host, the following command can be run:
    $ /usr/apache/bin/httpd -v
    Server version: Apache/1.3.33 (Unix)
    Server built:   Jan 22 2006 01:41:39

   The version number of the 'mod_ssl' module in use with Apache 1.3 is
   displayed in the error log when the Apache process starts. For
   example:
    $ grep mod_ssl/ /var/apache/logs/error_log
    [Fri Feb 17 14:50:48 2006] [notice] Apache/1.3.33 (Unix) mod_perl/1.29
    mod_ssl/2.8.22  OpenSSL/0.9.7d configured -- resuming normal operations

   Note 3: If no 'mod_ssl' version information is displayed in the log,
   then the Apache 1.3 web server is not configured to use SSL and is
   therefore not affected by issue CAN-2005-2700.

   Note 4: Apache 2.0 also ships with Solaris 10, which is impacted by
   some of the issues referenced in this Sun Alert. For details on the
   impact to Apache 2.0 see Sun Alert 102198.

3. Symptoms

   There are no predictable symptoms that would indicate that issue (1)
   and (3) described above have been exploited.

   If the system is affected by issue (2) described above, some data
   served by the Apache 1.3 web server may be accessible by clients who
   are not able to provide the correct credentials. 

4. Relief/Workaround

   Until patches are available and can be applied, sites may consider
   downloading and compiling Apache 1.3.34 or higher from the Apache
   site:

   http://httpd.apache.org

   and mod_ssl 2.8.24 or higher from the modssl site:

   http://www.modssl.org/

   as an interim workaround. Note however that the downloaded software is
   not supported by Sun.

5. Resolution

   This issue is addressed in the following releases:

   For issue (1) described above (BugID 6204933):

   SPARC Platform
     * Solaris 8 with patch 116973-03 or later
     * Solaris 9 with patch 113146-07 or later

   x86 Platform
     * Solaris 8 with patch 116974-03 or later
     * Solaris 9 with patch 114145-06 or later

   For issue (2) described above (BugID 6325738):

   SPARC Platform
     * Solaris 10 with patch 122911-01 or later

   x86 Platform
     * Solaris 10 with patch 122912-01 or later

   For issue (3) described above (BugID 6308127):

   SPARC Platform
     * Solaris 8 with patch 116973-03 or later
     * Solaris 9 with patch 113146-07 or later
     * Solaris 10 with patch 122911-01 or later

   x86 Platform
     * Solaris 8 with patch 116974-03 or later
     * Solaris 9 with patch 114145-06 or later
     * Solaris 10 with patch 122912-01 or later

Change History

   07-Mar-2006:
     * Updated Contributing Factors

   14-Jun-2006:
     * Updated Contributing Factors and Resolution sections

   13-Jul-2006:
     * Updated Contributing Factors and Resolution sections

   15-Aug-2006:
     * Updated Contributing Factors and Resolution sections
     * State: Resolved

   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 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

iQCVAwUBROlXSyh9+71yA2DNAQLHeAP/UrOmqE5MnTmjPqLammrPJqj73SG3jAzP
NDClpqFFYlIHm+FSbvsUA4aLV7j1l/bjB/RRZZhDvVA5zuy27t1qg+VBJog73TMU
+PzbbzRxnmP3h5jTawcFbcrwQ+O7IDF98ajuU5geGkKuHRGsb4+cxuFyHjCuoiNj
RgMoOxuAwgQ=
=slvO
-----END PGP SIGNATURE-----