-----BEGIN PGP SIGNED MESSAGE-----

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

       ESB-2002.166 -- Compaq Security Advisory (SSRT0817, SSRT0821)
      Potential Security Vulnerabilities with Compaq Secure Web Server
                          (PHP and apache/mod_ssl)
                               5 April 2002

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

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

Product:                Compaq Secure Web Server (CSWS)
Vendor:                 Compaq
Operating System:       OpenVMS V7.1-2 or later
                        TRU64 UNIX V5.0a or later
Impact:                 Execute Arbitrary Code/Commands
Access Required:        Remote

Ref:                    ESB-2002.101

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

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

TITLE:  (SSRT0817, SSRT0821) Potential Security Vulnerabilities
              with Compaq Secure Web Server (PHP and apache/mod_ssl)

Posted at http://ftp.support.compaq.com/patches/.new/security.shtml

NOTICE: There are no restrictions for distribution of this Bulletin
        provided that it remains complete and intact.

RELEASE DATE:  March 2002

SOURCE:
            Compaq Computer Corporation
            Compaq Services
            Software Security Response Team

X-REFERENCE: CVE Candidate - PHP (CAN-2002-0081) ,
             Apache/mod_ssl(CAN-2002-0082)

PROBLEM SUMMARY:

Compaq was recently notified of two potential vulnerabilities
that impact Compaq's distributed Secure Web Server (CSWS) for
OpenVMS and TRU64 UNIX.

     (SSRT0817) PHP

PHP (Hypertext Preprocessor scripting language). PHP does not
perform proper bounds checking on in functions related to
Form-based File Uploads in HTML to decode MIME encoded files.
This potential overflow vulnerability may allow arbitrary code
to be executed.



     (SSRT0821) Apache/mod_ssl

Apache/mod_ssl session cache management routines use an unchecked
buffer that could potentially allow an overflow of a session cache
buffer. Thispotential vulnerability may allow arbitrary code to be
executed.

VERSIONS IMPACTED:

     IMPACT:

       CSWS                 (SSRT0817) PHP    (SSRT0821)
                                              Apache/mod_ssl

       OpenVMS V7.1-2
       or
       later                 CSWS_PHP V1.0    CSWS V1.0-1,
                                              CSWS V1.1-1,
                                              CSWS V1.2


       TRU64 UNIX V5.0A
       or
       later                 CSWS V5.5.2       CSWS V5.5.2


        *NOTE:These reported potential vulnerabilities do not
        have an impact to the base operating system in the form
        of elevated permissions or privileges.


     NO IMPACT:

     Himalaya Web Products

     Compaq Management Software Web Products


RESOLUTION:

Compaq has corrected both problems and created patches that are now
available for CSWS (Compaq Secure Web Server) for OpenVMS and TRU64
UNIX.

CSWS for OpenVMS V7.1-2 or later:

A Compaq Secure Web Server security update kit is available for
download at:
http://www.openvms.compaq.com/openvms/products/ips/apache/csws_patches
.html

       (SSRT0817) PHP

       INSTALLED VERSION         UPDATE KIT

       CSWS_PHP 1.0              CSWS_PHP10_UPDATE V1.0


     NOTE: (SSRT0817) PHP - For OpenVMS - if upgrading is not
     possible or a patch cannot be applied immediately, the
     potential PHP overflow vulnerability may be minimized by
     adding the following line to MOD_PHP.CONF file:
     PHP_FLAG file_uploads OFF
     This will prevent using fileuploads, which may not be
     an acceptable short-term solution.

       (SSRT0821) Apache/mod_ssl

       Installed Version   Update Kit

       CSWS V1.2           CSWS12_UPDATE V1.0
       CSWS V1.1-1         CSWS111_UPDATE V1.0
       CSWS V1.0-1         CSWS101_UPDATE V1.0




TRU64 UNIX for V5.0a or later:

A Compaq Secure Web Server security update kit is available for
download at:
http://tru64unix.compaq.com/internet/download.htm#sws_v582
select and install the CSWS (Compaq Secure Web Server) kit V5.8.2


       Installed Version   Install Updated Server Kit

       CSWS V5.5.2          CSWS V5.8.2


After completing the update, Compaq strongly recommends that you
perform an immediate backup of your system disk so that any
subsequent restore operations begin with updated software. Otherwise,
you must reapply the patch after a future restore operation. Also, if
at some future time you upgrade your system to a later patch version,
you may need to reapply the appropriate patch.


SUPPORT:

For further information, contact Compaq Global Services.


SUBSCRIBE:

To subscribe to automatically receive future Security Advisories from
the Compaq's Software Security Response Team via electronic mail:
http://www.support.compaq.com/patches/mailing-list.shtml

REPORT:

To report a potential security vulnerability with any Compaq
supported product, send email mailto:security-ssrt@compaq.com

Compaq appreciates your cooperation and patience. We regret
any inconvenience applying this information may cause. As always,
Compaq urges you to periodically review your system management and
security procedures. Compaq will continue to review and enhance the
security features of its products and work with customers to maintain
and improve the security and integrity of their systems.

"Compaq is broadly distributing this Security Advisory to notify all
users of Compaq products of the important security information
contained in this Advisory. Compaq recommends that all users
determine the applicability of this information to their individual
situations and take appropriate action. Compaq does not warrant that
this information is necessarily accurate or complete for all user
situations and, consequently, Compaq will not be responsible for any
damages resulting from user's use or disregard of the information
provided in this Advisory."

Copyright 2002 Compaq Information Technologies Group, L.P. Compaq
shall not be liable for technical or editorial errors or omissions
contained herein. The information in this document is subject to
change without notice. Compaq and the names of Compaq products
referenced herein are, either, trademarks and/or service marks or
registered trademarks and/or service marks of Compaq Information
Technologies Group, L.P. Other product and company names mentioned
herein may be trademarks and/or service marks of their respective
owners.

- -----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.1

iQA/AwUBPKYaXznTu2ckvbFuEQLbTQCfarAsi8kRC4LM8mftiUv84AWBHmYAn1Z7
qdlODoP4yGBrHmi2hIVqr0Ia
=egdQ
- -----END PGP SIGNATURE-----

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

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 use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

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 original authors 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/Information/advisories.html

If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Teams).

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


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key

iQCVAwUBPK2++yh9+71yA2DNAQFpjgQAluu+jVM21HMM+bqiSuA/lxqlhQ6Kbtcd
YzWGfDv2HSreAov0fBBv9Ma7QG0D1FRhs4whnD6oTY7Bc/b1+l583N9bdvGCG11W
qzTyyjA5anDOU7C7VbmZCucDai6mQjDXM3CjhyenrXpEo1PYEj8PG6/WH4lWqU9O
2WlWEPwL19E=
=6725
-----END PGP SIGNATURE-----