__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Apache HTTP Server 1.3.33 Released [Apache Announcement HTTP Server 1.3.33] October 29, 2004 17:00 GMT Number P-025 [REVISED 18 Nov 2004] [REVISED 06 Dec 2004] [REVISED 31 Jan 2005] [REVISED 02 Mar 2006] [REVISED 07 Mar 2006] [REVISED 14 June 2006] [REVISED 14 July 2006] [REVISED 15 Aug 2006] ______________________________________________________________________________ PROBLEM: Apache HTTP Server 1.3.33 release fixes two potential security issues. PLATFORM: Apache HTTP Server versions prior to 1.3.33 Debian GNU/Linux 3.0 (woody) Mac OS X v10.2.x and v10.3.x Mac OS X Servers v10.2.x and v10.3.x HP-UX B.11.04 with VirtualVault 4.7, Virtualvault 4.6, or VirtualVault 4.5, and HP Webproxy A.02.10 and A.02.00 only. Solaris 8, 9, 10 Operating Systems DAMAGE: This release fixes a potential buffer overflow with escaped characters in SSI tag string and a heap-based buffer overflow in proxy-util.c for mod_proxy that may allow an attacker to cause a DoS and possibly execute arbitrary code. SOLUTION: Install the update. ______________________________________________________________________________ VULNERABILITY The risk is LOW. The Apache user runs as a nonprivileged user ASSESSMENT: by default. Exploiting the vulnerabilities may allow an attacker to execute arbitrary code or cause a denial of service. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/p-025.shtml ORIGINAL BULLETIN: http://www.apache.org/dist/httpd/Announcement.html ADDITIONAL LINKS: http://www.debian.org/security/2004/dsa-594 - Apple Security Update 2004-12-02 (Also on CIAC P-049) http://docs.info.apple.com/article.html?artnum=61798 - Visit HEWLETT-PACKARD Subscription Service for: HPSBUX01113 rev. 0 SSRT5902 Rev. 0 Sun Alert ID: 102197 http://www.sunsolve.sun.com/search/document.do?assetkey=1 -26-102197-1&searchclause=%22category:security%22%2420%22 availability,%2420security%22%2420category:security CVE/CAN: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CAN-2004-0940, CAN-2004-0492 ______________________________________________________________________________ REVISION HISTORY: 11/18/2004 - added link to Debian Security Advisory DSA-594-1 that provides updated packages addressing vulnerabilities described in CAN-2004-0940. 12/06/2004 - Added Apple products to Platforms. Added link to Apple's Security Update 2004-12-02. This information also on our CIAC Bulletin P-049. 01/31/2005 - Added reference to HP's Security Bulletin HPSBUX01113 rev. 0 SSRT5902 Rev. 0 that provides patches for this vulnerability. 03/02/2006 - added a reference to Sun Alert ID: 102197 for Solaris 8, 9, 10 Operating Systems. 03/07/2006 - added a reference to Sun Alert ID: 102197 for Solaris 8, 9, 10 Operating Systems. 06/14/2006 - Sun Alert ID: 102197 updated its Contributing Factors and Resolution sections 07/14/2006 - Sun Alert ID: 102197 updated its Contributing Factors and Resolution sections 08/15/2006 - Sun Alert ID: 102197 updated its Contributing Factors and Resolution sections and changed its "State" to resolved [***** Start Apache Announcement HTTP Server 1.3.33 *****] Apache HTTP Server 1.3.33 Released The Apache Software Foundation and The Apache HTTP Server Project are pleased to announce the release of version 1.3.33 of the Apache HTTP Server ("Apache"). This Announcement notes the significant changes in 1.3.33 as compared to 1.3.31 (1.3.32 was not formally released). The Announcement is also available in German and Japanese from: http://www.apache.org/dist/httpd/Announcement.html.de http://www.apache.org/dist/httpd/Announcement.txt.ja This version of Apache is principally a bug and security fix release. A partial summary of the bug fixes is given at the end of this document. A full listing of changes can be found in the CHANGES file. Of particular note is that 1.3.33 addresses and fixes 2 potential security issues: CAN-2004-0940 (cve.mitre.org) Fix potential buffer overflow with escaped characters in SSI tag string. CAN-2004-0492 (cve.mitre.org) Reject responses from a remote server if sent an invalid (negative) Content-Length. We consider Apache 1.3.33 to be the best version of Apache 1.3 available and we strongly recommend that users of older versions, especially of the 1.1.x and 1.2.x family, upgrade as soon as possible. No further releases will be made in the 1.2.x family. Apache 1.3.33 is available for download from http://httpd.apache.org/download.cgi Binary distributions are available from http://www.apache.org/dist/httpd/binaries/ This service utilizes the network of mirrors listed at: http://www.apache.org/mirrors/ Please see the CHANGES_1.3 file in the same directory for a full list of changes. As of Apache 1.3.12 binary distributions contain all standard Apache modules as shared objects (if supported by the platform) and include full source code. Installation is easily done by executing the included install script. See the README.bindist and INSTALL.bindist files for a complete explanation. Please note that the binary distributions are only provided for your convenience and current distributions for specific platforms are not always available. Win32 binary distributions are based on the Microsoft Installer (.MSI) technology. While development continues to make this installation method more robust, questions should be directed to the news:comp.infosystems.www.servers.ms-windows newsgroup. For an overview of new features introduced after 1.2 please see http://httpd.apache.org/docs/new_features_1_3.html In general, Apache 1.3 offers several substantial improvements over version 1.2, including better performance, reliability and a wider range of supported platforms, including Windows 95/98 and NT (which fall under the "Win32" label), OS2, Netware, and TPE threaded platforms. IMPORTANT NOTE FOR APACHE USERS: Apache 1.3 was designed for Unix OS variants. While the ports to non-Unix platforms (such as Win32, Netware or OS2) are of an acceptable quality, Apache 1.3 is not optimized for these platforms. Security, stability, or performance issues on these non-Unix ports do not generally apply to the Unix version, due to software's Unix origin. Apache 2.0 has been structured for multiple operating systems from its inception, by introducing the Apache Portability Library and MPM modules. Users on non-Unix platforms are strongly encouraged to move up to Apache 2.0 for better performance, stability and security on their platforms. Apache is the most popular web server in the known universe; over half of the servers on the Internet are running Apache or one of its variants. Apache 1.3.33 Major changes Security vulnerabilities The main security vulnerabilities addressed in 1.3.33 are: CAN-2004-0940 (cve.mitre.org) Fix potential buffer overflow with escaped characters in SSI tag string. CAN-2004-0492 (cve.mitre.org) Reject responses from a remote server if sent an invalid (negative) Content-Length. New features New features that relate to specific platforms: Win32: Improve error reporting after a failed attempt to spawn a piped log process or rewrite map process. New features that relate to specific platforms: Added new compile-time flag: UCN_OFF_HONOR_PHYSICAL_PORT. It controls how UseCanonicalName Off determines the port value if the client doesn't provide one in the Host header. If defined during compilation, UseCanonicalName Off will use the physical port number to generate the canonical name. If not defined, it tries the current Port value followed by the default port for the current scheme. Bugs fixed The following bugs were found in Apache 1.3.31 (or earlier) and have been fixed in Apache 1.3.33: mod_rewrite: Fix query string handling for proxied URLs. PR 14518. mod_rewrite: Fix 0 bytes write into random memory position. PR 31036. mod_digest: Fix nonce string calculation since 1.3.31 which would force re-authentication for every connection if AuthDigestRealmSeed was not configured. PR 30920. Fix trivial bug in mod_log_forensic that caused the child to seg fault when certain invalid requests were fired at it with forensic logging is enabled. PR 29313. No longer breaks mod_dav, frontpage and others. Repair a patch in 1.3.31 which prevented discarding the request body for requests that will be keptalive but are not currently keptalive. PR 29237. [***** End Apache Announcement HTTP Server 1.3.33 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of The Apache HTTP Server Project 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) P-015: Libtiff Vulnerabilities P-016: Sun FTP Daemon of Heimdal is Vulnerable to Race Conditions P-017: Sun Security Vulnerability When Using LDAP in Conjunction with RBAC P-018: Red Hat Update MySQL Packages Fix Security Issues and Bugs P-019: Red Hat Updated CUPS Packages Fix Security Issues P-020: VERITAS NetBackup (tm) Java GUI Vulnerability P-021: HP Serviceguard Vulnerability P-022: QuickTime for Windows Vulnerability P-023: RealPlayer Vulnerability P-024: Apple Remote Desktop Vulnerability