|
__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN HP Apache Server Vulnerability in PHP [HPSBUX0208-207] August 9, 2002 19:00 GMT Number M-108 ______________________________________________________________________________ PROBLEM: The potential exists for a remotely exploitable vulnerability in the portion of PHP code responsible for handling file uploads, specifically multipart/form-data. PLATFORM: HP9000 Servers running HP-UX release 11.00, 11.11, 11.20, and 11.22 with the HP Apache product installed. DAMAGE: Potential for increased privilege, denial of service, or execution of arbitrary code. SOLUTION: Install product bundles as described below. ______________________________________________________________________________ VULNERABILITY The risk is HIGH. Exploiting this vulnerability could lead to ASSESSMENT: an increase of privileges, denial of service, or execution of arbitrary code. It is remotely exploitable. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/m-108.shtml ORIGINAL BULLETIN: http://online.securityfocus.com/advisories/4362 ______________________________________________________________________________ [***** Start HPSBUX0208-207 *****] Document ID: HPSBUX0208-207 Date Loaded: 20020807 Title: Sec. Vulnerability in HP Apache Server PHP --------------------------------------------------------------- HEWLETT-PACKARD COMPANY SECURITY BULLETIN: HPSBUX0208-207 Originally issued: 08 August 2002 ----------------------------------------------------------------- The information in the following Security Bulletin should be acted upon as soon as possible. Hewlett-Packard Company will not be liable for any consequences to any customer resulting from customer's failure to fully implement instructions in this Security Bulletin as soon as possible. ------------------------------------------------------------------ PROBLEM: The potential exists for a remotely exploitable vulnerability in the portion of PHP code responsible for handling file uploads, specifically multipart/form-data. PLATFORM: HP9000 Servers running HP-UX release 11.00, 11.11, 11.20, and 11.22 with the HP Apache product installed. DAMAGE: Potential for increased privilege, denial of service, or execution of arbitrary code. SOLUTION: Download new product bundles from http://www.software.hp.com/ISS_products_list.html MANUAL ACTIONS: Install product bundle. AVAILABILITY: The new product bundles are available now. ------------------------------------------------------------------ A. Background The CERT Advisory CA-2002-21 regarding PHP, affects the following HP products: B9415AA Apache 1.3.x HP-UX releases 11.00 and 11.11 B9416AA Apache 2.x HP-UX releases 11.00 and 11.11 B9415AA Apache 1.3.x HP-UX releases 11.20 and 11.22 B9416AA Apache 2.x HP-UX releases 11.20 and 11.22 B9416BA Apache 2.x IPv6 HP-UX release 11.11 Before updating, make sure to stop any previous HP Apache binary. Otherwise, the previous binary will continue running, preventing the new one from automatically starting, although the installation would have been successful. The command to stop the HP Apache binary is: for 1.3.26: /opt/apache/bin/apachectl stop for 2.0.39: /opt/hpapache2/bin/apachectl stop HP Apache automatically starts upon installation if port 80 is available. 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. ================================================================== Case id: SSRT2300 - HP Tru64 UNIX, HP OpenVMS, and Internet Express V5.9 o Secure Web Server for HP OpenVMS and HP Tru64 UNIX are not vulnerable. o Internet Express V5.9 contains PHP 4.1.2 which is not listed as vulnerable to this problem. We also have provided an externally downloadable Secure Web Server 5.9.1 kit (with security fixes to Apache) that also contains PHP 4.1.2. B. Fixing the problem Note: OpenView Network Node Manager (NNM) customers should not install these bundles. The version of Apache delivered with NNM is under investigation. This bulletin will be updated when more information is available. The fixes for all versions are in the form of new product bundles rather than patches. Fixes for the following versions can be downloaded from http://www.software.hp.com/ISS_products_list.html : hp apache-based web server v.1.3.26.03 on hp-ux 11.0 and 11i (pa-risc) hp apache-based web server v.1.3.26.03 on hp-ux 11i version 1.5 and 1.6 (ipf) hp apache-based web server v.2.0.39.03 on hp-ux 11.0 and 11i (pa-risc) hp apache-based web server v.2.0.39.03 on hp-ux 11i (pa-risc) for ipv6 hp apache-based web server v.2.0.39.03 on hp-ux 11i version 1.5 and 1.6 (ipf) C. To subscribe to automatically receive future NEW HP Security Bulletins from the HP IT Resource Center via electronic mail, do the following: Use your browser to get to the HP IT Resource Center page at: http://itrc.hp.com Use the 'Login' tab at the left side of the screen to login using your ID and password. Use your existing login or the "Register" button at the left to create a login, in order to gain access to many areas of the ITRC. Remember to save the User ID assigned to you, and your password. In the left most frame select "Maintenance and Support". Under the "Notifications" section (near the bottom of the page), select "Support Information Digests". To -subscribe- to future HP Security Bulletins or other Technical Digests, click the check box (in the left column) for the appropriate digest and then click the "Update Subscriptions" button at the bottom of the page. or To -review- bulletins already released, select the link (in the middle column) for the appropriate digest. To -gain access- to the Security Patch Matrix, select the link for "The Security Bulletins Archive". (near the bottom of the page) Once in the archive the third link is to the current Security Patch Matrix. Updated daily, this matrix categorizes security patches by platform/OS release, and by bulletin topic. Security Patch Check completely automates the process of reviewing the patch matrix for 11.XX systems. For information on the Security Patch Check tool, see: http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/ displayProductInfo.pl?productNumber=B6834AA" The security patch matrix is also available via anonymous ftp: ftp://ftp.itrc.hp.com/export/patches/hp-ux_patch_matrix/ On the "Support Information Digest Main" page: click on the "HP Security Bulletin Archive". D. To report new security vulnerabilities, send email to security-alert@hp.com Please encrypt any exploit information using the security-alert PGP key, available from your local key server, or by sending a message with a -subject- (not body) of 'get key' (no quotes) to security-alert@hp.com. Permission is granted for copying and circulating this Bulletin to Hewlett-Packard (HP) customers (or the Internet community) for the purpose of alerting them to problems, if and only if, the Bulletin is not edited or changed in any way, is attributed to HP, and provided such reproduction and/or distribution is performed for non-commercial purposes. Any other use of this information is prohibited. HP is not liable for any misuse of this information by any third party. ________________________________________________________________ -----End of Document ID: HPSBUX0208-207-------------------------------------- [***** End HPSBUX0208-207 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Hewlett-Packard for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) M-098: PGP Outlook Encryption Plug-in Vulnerability M-099: Microsoft Cumulative Patch for SQL Server M-100: MS Server Response To SMTP Client EHLO Command M-101: MS Unchecked Buffer in SQL Server 2000 Utilities M-102: MS SQL Server 2000 Resolution Service Buffer Overflow M-103: Multiple Vulnerabilities in OpenSSL M-104: Red Hat Linux Passwork Locking Race Vulnerability M-105: Unchecked Buffer in MDAC Function Vulnerability M-106: Cisco Concentrator RADIUS PAP Authentication Vulnerability M-107: Unchecked Buffer in Content Management Server