[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UNIRAS Brief - 600/04 -HP Security Bulletin HPSBUX01090 - SSRT4853 HP-UX Apache with PHP remote Denial



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

- ----------------------------------------------------------------------------------
   UNIRAS (UK Govt CERT) Briefing Notice - 600/04 dated 28.10.04  Time: 12:50  
  UNIRAS is part of NISCC (National Infrastructure Security Co-ordination Centre)
- ---------------------------------------------------------------------------------- 
  UNIRAS material is also available from its website at www.uniras.gov.uk and
         Information about NISCC is available from www.niscc.gov.uk
- ----------------------------------------------------------------------------------

Title
=====

HP Security Bulletin HPSBUX01090 - SSRT4853  HP-UX Apache with PHP remote Denial 
of Service, local elevation of privileges

Detail
====== 

Several potential security vulnerabilities have been identified in Apache Web Server 
and PHP running on HP-UX where a remote user may be able to cause a Denial of Service 
(DoS), obtain local elevataton of privileges or gain unauthorized access to restricted 
resources.




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

===========================================================================
             
             ESB-2004.0681 -- HP Security Bulletin HPSBUX01090
         SSRT4853  HP-UX Apache with PHP remote Denial of Service,
                       local elevation of privileges
                              28 October 2004

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

       

Product:                Apache
                        PHP
Publisher:              Hewlett-Packard
Operating System:       HP-UX 11.23
                        HP-UX 11.22
                        HP-UX 11.11
                        HP-UX 11.00
Impact:                 Increased Privileges
                        Inappropriate Access
                        Denial of Service
Access:                 Remote/Unauthenticated
CVE Names:              CAN-2004-0811 CAN-2004-0809 CAN-2004-0786
                        CAN-2004-0751 CAN-2004-0748 CAN-2004-0747

Ref:                    ESB-2004.0612

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

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

HP SECURITY BULLETIN

HPSBUX01090     REVISION: 0

SSRT4853 rev. 0 HP-UX Apache with PHP remote Denial of Service,
                local elevation of privileges, unauthorized access
                to restricted resources

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

The information in this Security bulletin should be acted upon as soon as possible.

INITIAL RELEASE:
26 October 2004

POTENTIAL SECURITY IMPACT:
Remote denial of service, local elevation of privilege, unauthorized access to restricted 
resources.

SOURCE:
HEWLETT-PACKARD COMPANY
HP Software Security Response Team

REFERENCES:
CAN-2004-0786, CAN-2004-0747, CAN-2004-0751, CAN-2004-0748, CAN-2004-0809, CAN-2004-0811

VULNERABILITY SUMMARY:
1. The IPv6 URI parsing routines in the apr-util library for
    Apache 2.0.50 and earlier allow remote attackers to cause
    a denial of service (child process crash) via a certain URI,
    as demonstrated using the Codenomicon HTTP Test Tool. 
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0786

2. Buffer overflow in Apache 2.0.50 and earlier allows local
    users to gain apache privileges via a .htaccess file that
    causes the overflow during expansion of environment
    variables. http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0747

3. The char_buffer_read function in the mod_ssl module for
    Apache 2.x, when using reverse proxying to an SSL server,
    allows remote attackers to cause a denial of service
    (segmentation fault). http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0751

4. mod_ssl in Apache 2.0.50 and earlier allows remote
    attackers to cause a denial of service (CPU consumption)
    by aborting an SSL connection in a way that causes an
    Apache child process to enter an infinite loop 
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0748

5. The mod_dav module in Apache 2.0.50 and earlier allows
    remote attackers to cause a denial of service (child process
    crash) via a certain sequence of  LOCK requests for a
    location that allows WebDAV authoring access. 
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0809

6. Vulnerability in Apache 2.0.51 prevents the merging of the
    Satisfy directive, which could allow attackers to obtain
    access to restricted resources contrary to the specified
    authentication configuration. 
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0811

SUPPORTED SOFTWARE VERSIONS*:  ONLY impacted versions are listed. HP-UX B.11.00, 
B.11.11, B.11.22, and B.11.23 running the currently suppported versions of hpuxwsAPACHE 
HP-UX Apache-based Web Server.

BACKGROUND:
     AFFECTED VERSIONS

     Note: To determine if a system has an affected version,
           search the output of "swlist -a revision -l fileset"
           for an affected fileset.  Then determine if the
           recommended patch or update is installed.

      For IPv4:
      HP-UX B.11.00
      HP-UX B.11.11
      =============
      hpuxwsAPACHE
      action: install revision A.2.0.52.00 or subsequent

      HP-UX B.11.22
      =============
      hpuxwsAPACHE
      action: migrate to B.11.23

      For IPv6:
      HP-UX B.11.11
      =============
      hpuxwsAPACHE,revision=B.1.0.00.01
      hpuxwsAPACHE,revision=B.1.0.07.01
      hpuxwsAPACHE,revision=B.1.0.08.01
      hpuxwsAPACHE,revision=B.1.0.09.01
      hpuxwsAPACHE,revision=B.1.0.10.01
      hpuxwsAPACHE,revision=B.2.0.48.00
      hpuxwsAPACHE,revision=B.2.0.49.00
      hpuxwsAPACHE,revision=B.2.0.50.00
      action: install revision B.2.0.52.00 or subsequent

      HP-UX B.11.23
      =============
      hpuxwsAPACHE
      action: install revision B.2.0.52.00 or subsequent

     END AFFECTED VERSIONS

RESOLUTION:
NOTE: Support ended for HP-UX Web Server Suite for HP-UX 11i
             v1.6 (B.11.22) after March 31, 2004.   HP-UX Web
             Server Suite for HP-UX 11i v1.6 (B.11.22) is no
             longer available or supported.

             Users of this software are encouraged to update to
             HP-UX 11i v2 (B.11.23) and install the latest HP-UX
             Web Server Suite for HP-UX 11i v2.
             Please write to security-alert@xxxxxx  for more
             information.


Check for Apache Installation
- - - ----------------------------------

To determine if the Apache web server from HP is installed
on your system, use Software Distributor's swlist command.
All three versions products may co-exist on a single system.

For example, the results of the command

swlist -l product | grep -i apache

hpuxwsAPACHE B.2.0.49.00 HP-UX Apache-based Web Server


Stop Apache
- - - ---------------

Before updating, make sure to stop any previous Apache binary. Otherwise, the previous 
binary will continue running, preventing the new one from starting, although the 
installation would be successful.  After determining which Apache is installed, stop 
Apache with the following commands:

for hpuxwsAPACHE: /opt/hpws/apache[32]/bin/apachectl stop

Download and Install Apache
- - - ----------------------------------

- - - - Download Apache from Software Depot:
  < http://software.hp.com>

- - - - Verify successful download by comparing the cksum with
  the value specified on the installation web page.

- - - - Use SD to swinstall the depot.

   Installation of this new version of HP Apache over an existing
   HP Apache installation is supported, while installation over a
   non-HP Apache is NOT supported.


Removing Apache Installation
- - - ----------------------------------

If you prefer to remove Apache from your system instead of installing a newer version 
to resolve the security problem, use both Software Distributor's "swremove" command and 
also "rm -rf" the home location as specified in the rc.config.d file "HOME" variables.

%ls /etc/rc.config.d | grep apache

hpapache2conf

hpws_apache[32]conf

MANUAL ACTIONS:  Yes - Update plus other actions
                 Install the product containing the fix.

BULLETIN REVISION HISTORY:
Revision 0 - 26 October 2004

   Initial release


* The software product category that this Security Bulletin
  relates to is represented by the 5th and 6th characters of the
  Bulletin number: GN=General, MA=Management Agents,
  MI=Misc. 3rd party, MP=HP-MPE/iX, NS=HP NonStop Servers,
  OV=HP OpenVMS, PI=HP Printing & Imaging, ST=HP Storage,
  TU=HP Tru64 UNIX, TL=Trusted Linux, UX=HP-UX, VV=Virtual Vault


SUPPORT: For further information, contact HP Services support
         channel.

SUBSCRIBE: To initiate a subscription to receive future HP Security Bulletins via Email: 
http://h30046.www3.hp.com/driverAlertProfile.php?regioncode
=NA&langcode=USENG&jumpid=in_SC-GEN__driverITRC&topiccode=ITRC
On the web page:
Driver and Support Alerts/Notifications Sign-up: Product Selection Under Step1: your 
products 1. Select product category:
   - a minimum of servers must be selected.
2. Select product family or search:
   - a minimum of one product must be selected.
3. Add a product:
   - a minimum of one product must be added.
In Step 2: your operating system(s)
   - check ALL operating systems for which alerts are required. Complete the form and Save.

To update an existing subscription: http://h30046.www3.hp.com/subSignIn.php
Log in on the web page Subscriber's choice for Business: sign-in. On the Web page: Subscriber's 
Choice: your profile summary
- - - - use Edit Profile to update appropriate sections.

Note: In addition to the individual alerts/notifications for the selected operating 
systems/products, subscribers will automatically receive one copy of alerts for non-operating 
system categories (i.e., a subscriber who signs up for all six operating system alerts will 
only receive one copy of all the non-operating system alerts).



HP-UX SPECIFIC SECURITY BULLETINS*:
The HP-UX Security Patch Matrix is available here:
  http://itrc.hp.com/service/cki/docDisplay.do?
  docId=hpuxSecurityMatrix
Or via anonymous ftp:
  ftp://ftp.itrc.hp.com/export/patches/hp-ux_patch_matrix/

The HP-UX Security Patch Matrix, updated daily, categorizes security patches by platform/OS release, 
and by Bulletin topic. The Security Patch Check tool completely automates the process of reviewing 
the Security Patch Matrix for HP-UX 11.XX Versions.

NOTE: Installing patches listed in the Security Patch Matrix will completely implement the RESOLUTION 
in the Security Bulletin _only_ if there are no MANUAL ACTIONS included.

The Security Patch Check tool can also verify that a Security Bulletin RESOLUTION has been implemented 
on HP-UX 11.XX Versions provided that no MANUAL ACTIONS were included. The Security Patch Check tool 
cannot verify patches implemented via product upgrade.

For information on the Security Patch Check tool, see:
  http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/
  displayProductInfo.pl?productNumber=B6834AA

REPORT: To report a potential security vulnerability with any HP supported product, send Email to: 
security-alert@xxxxxxx It is strongly recommended that security related information being communicated 
to HP be encrypted using PGP, especially exploit information. To obtain the security-alert PGP key 
please send an e-mail message to security-alert@xxxxxx with the Subject of 'get key' (no quotes).

System management and security procedures must be reviewed frequently to maintain system integrity. 
HP is continually reviewing and enhancing the security features of software products to provide 
customers with current secure solutions.

"HP is broadly distributing this Security Bulletin in order to bring to the attention of users of 
the affected HP products the important security information contained in this Bulletin. HP recommends 
that all users determine the applicability of this information to their individual situations and take 
appropriate action. HP does not warrant that this information is necessarily accurate or complete for 
all user situations and, consequently, HP will not be responsible for any damages resulting from user's 
use or disregard of the information provided in this Bulletin. To the extent permitted by law, HP 
disclaims all warranties, either express or implied, including the warranties of merchantability and 
fitness for a particular purpose, title and non-infringement."

(c)Copyright 2004 Hewlett-Packard Development Company, L.P. Hewlett-Packard Company shall not be liable 
for technical or editorial errors or omissions contained herein. The information provided is provided 
"as is" without warranty of any kind. To the extent permitted by law, neither HP or its affiliates, 
subcontractors or suppliers will be liable for incidental, special or consequential damages including 
downtime cost; lost profits; damages relating to the procurement of substitute products or services; 
or damages for loss of data, or software restoration. The information in this document is subject to 
change without notice. Hewlett-Packard Company and the names of Hewlett-Packard products referenced 
herein are trademarks of Hewlett-Packard Company in the United States and other countries. Other 
product and company names mentioned herein may be trademarks of their respective owners.

- - -----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBQX+Mb+AfOvwtKn1ZEQJcGACg5b1JLDu0Ic1TnkBLIRkH9ahKXEQAnjTz
e9pe0GNwR7uzbXft1AKINz40
=7zYU
- - -----END PGP SIGNATURE-----

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


iQCVAwUBQYA7Rih9+71yA2DNAQLxgQP9EYaKsr9HoyFLwTSlsvlPkQBVBvJxarh4
g2JTBV4utB/4dq1JIjqriNCg/yATSydQD1dg6PSTXL/9W+kJ3+o8SDPyRPez6i7i
XD/O7H5vAqlVpnQ+59BfBP9rDScfWTXe+HZJVN8s5Rc+eKAy/MYMUFrClwcxpvAC
hbrIS0WUR3c=
=PzFa
- -----END PGP SIGNATURE-----

- ----------------------------------------------------------------------------------

For additional information or assistance, please contact the HELP Desk by 
telephone or Not Protectively Marked information may be sent via 
EMail to: uniras@xxxxxxxxxxxx

Office Hours:
Mon - Fri: 08:30 - 17:00 Hrs
Tel: +44 (0) 870 487 0748 Ext 4511
Fax: +44 (0) 870 487 0749

Outside of Office Hours:
On Call Duty Officer:
Tel: +44 (0) 870 487 0748 and follow the prompts

- ----------------------------------------------------------------------------------
UNIRAS wishes to acknowledge the contributions of Hewlett Packard for the information 
contained in this Briefing. 
- ----------------------------------------------------------------------------------
This Briefing contains the information released by the original author. Some 
of the information may have changed since it was released. If the vulnerability 
affects you, it may be prudent to retrieve the advisory from the canonical site 
to ensure that you receive the most current information concerning that problem.

Reference to any specific commercial product, process, or service by trade 
name, trademark manufacturer, or otherwise, does not constitute or imply 
its endorsement, recommendation, or favouring by UNIRAS or NISCC.  The views 
and opinions of authors expressed within this notice shall not be used for 
advertising or product endorsement purposes.

Neither UNIRAS or NISCC shall also accept responsibility for any errors 
or omissions contained within this briefing notice. In particular, they shall 
not be liable for any loss or damage whatsoever, arising from or in connection 
with the usage of information contained within this notice.

UNIRAS is a member of the Forum of Incident Response and Security Teams (FIRST) 
and has contacts with other international Incident Response Teams (IRTs) in 
order to foster cooperation and coordination in incident prevention, to prompt 
rapid reaction to incidents, and to promote information sharing amongst its 
members and the community at large. 
- ----------------------------------------------------------------------------------
<End of UNIRAS Briefing>

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQCVAwUBQYDcoYpao72zK539AQEL/wP/dtINzodL+n3wTa+vy4ZCbnHK8zVbJTIY
vR9r1lbm7VeLoNRbJXJFy/6/wSI9ZYR7IORzRrfNm/NVavLJmC/mC5gbz0TfFNt3
vpNxHZ2GYqLhsvBw5DYx8jdu65vmKrBsNVrB22pxhxRzX2u7LCQ3RO8c6SSnZAhU
4lIJNxAZghU=
=6oEx
-----END PGP SIGNATURE-----