Apache mod_include module buffer overflow
| apache-modinclude-bo (17785) |
Description:
Apache HTTP Server is vulnerable to a buffer overflow in the mod_include module. By supplying a specially-crafted URL to the get_tag function in the mod_include module, a local attacker could overflow a buffer and possibly execute arbitrary code on the system with privileges of the httpd child process.
Platforms Affected:
- Apache, HTTP Server 1.3
- Apache, HTTP Server 1.3.0
- Apache, HTTP Server 1.3.1
- Apache, HTTP Server 1.3.10
- Apache, HTTP Server 1.3.11
- Apache, HTTP Server 1.3.12
- Apache, HTTP Server 1.3.13
- Apache, HTTP Server 1.3.14
- Apache, HTTP Server 1.3.15
- Apache, HTTP Server 1.3.16
- Apache, HTTP Server 1.3.17
- Apache, HTTP Server 1.3.18
- Apache, HTTP Server 1.3.19
- Apache, HTTP Server 1.3.2
- Apache, HTTP Server 1.3.20
- Apache, HTTP Server 1.3.22
- Apache, HTTP Server 1.3.23
- Apache, HTTP Server 1.3.24
- Apache, HTTP Server 1.3.25
- Apache, HTTP Server 1.3.26
- Apache, HTTP Server 1.3.27
- Apache, HTTP Server 1.3.28
- Apache, HTTP Server 1.3.29
- Apache, HTTP Server 1.3.3
- Apache, HTTP Server 1.3.30
- Apache, HTTP Server 1.3.31
- Apache, HTTP Server 1.3.32
- Apache, HTTP Server 1.3.33
- Apache, HTTP Server 1.3.34
- Apache, HTTP Server 1.3.35
- Apache, HTTP Server 1.3.36
- Apache, HTTP Server 1.3.37
- Apache, HTTP Server 1.3.38
- Apache, HTTP Server 1.3.39
- Apache, HTTP Server 1.3.4
- Apache, HTTP Server 1.3.5
- Apache, HTTP Server 1.3.6
- Apache, HTTP Server 1.3.7
- Apache, HTTP Server 1.3.8
- Apache, HTTP Server 1.3.9
- Apple, Mac OS X 10.2.8
- Apple, Mac OS X 10.3.6
- Apple, Mac OS X Server 10.2.8
- Apple, Mac OS X Server 10.3.6
- Debian, Debian Linux 3.0
- Gentoo, Linux
- HP, HP-UX 11.00
- HP, HP-UX 11.11
- HP, HP-UX 11.20
- HP, HP-UX 11.22
- MandrakeSoft, Mandrake Linux 10.0
- MandrakeSoft, Mandrake Linux 10.0 AMD64
- MandrakeSoft, Mandrake Linux 10.1
- MandrakeSoft, Mandrake Linux 10.1 X86_64
- MandrakeSoft, Mandrake Linux 9.2
- MandrakeSoft, Mandrake Linux 9.2 AMD64
- MandrakeSoft, Mandrake Linux Corporate Server 2.1
- MandrakeSoft, Mandrake Linux Corporate Server 2.1 X86_64
- MandrakeSoft, Mandrake Multi Network Firewall 8.2
- Novell, Linux Desktop 9
- OpenPKG, OpenPKG 2.0
- OpenPKG, OpenPKG 2.1
- OpenPKG, OpenPKG 2.2
- OpenPKG, OpenPKG CURRENT
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Linux Advanced Workstation 2.1 Itanium
- RedHat, Stronghold
- Slackware, Slackware Linux 10.0
- Slackware, Slackware Linux 8.1
- Slackware, Slackware Linux 9.0
- Slackware, Slackware Linux 9.1
- Slackware, Slackware Linux current
- SuSE, Linux Enterprise Server 8
- SuSE, Linux Enterprise Server 9
- SuSE, SuSE Linux 8.1
- SuSE, SuSE Linux 8.2
- SuSE, SuSE Linux 9.0
- SuSE, SuSE Linux 9.1
- SuSE, SuSE Linux 9.2
- SuSE, SuSE Linux Desktop 1.0
- Trustix, Secure Linux 1.5
- Turbolinux, Turbolinux 7 Server
- Turbolinux, Turbolinux 7 Workstation
- Turbolinux, Turbolinux 8 Server
- Turbolinux, Turbolinux 8 Workstation
- Turbolinux, Turbolinux Appliance Server 1.0
- Turbolinux, Turbolinux Appliance Server 1.0 Hosting Ed
- Turbolinux, Turbolinux Appliance Server 1.0 Workgroup Ed
Remedy:
For OpenPKG:
Upgrade to the latest apache package, as listed in OpenPKG Security Advisory OpenPKG-SA-2004.047. See References.
OpenPKG CURRENT: 1.3.33-20041029 or later
OpenPKG 2.2: 1.3.31-2.2.1 or later
OpenPKG 2.1: 1.3.31-2.1.6 or later
OpenPKG 2.0: 1.3.29-2.0.7 or later
For Slackware Linux:
Upgrade to the latest apache or mod_ssl package, as listed in slackware-security Mailing List, Mon, 1 Nov 2004 00:00:31 -0800 (PST) for more information. See References.
For Gentoo Linux:
Upgrade to the latest version of apache (1.3.32-r1 or later), as listed in GLSA 200411-03. See References.
For Trustix Secure Linux:
Upgrade to the latest apache package, as listed in Trustix Secure Linux Security Advisory #2004-0056 for more information. See References.
For Mandrake Linux:
Upgrade to the latest apache package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:134 for more information. See References.
Mandrake Linux 10.1: 1.3.31-7.1.101mdk or later
Mandrake Linux 9.2: 1.3.28-3.4.92mdk or later
Mandrake Linux Multi Network Firewall 8.2: 1.3.23-4.5.M82mdk or later
Mandrake Linux Corporate Server 2.1: 1.3.26-7.3.C21mdk or later
Mandrake Linux 10.0: 1.3.29-1.3.100mdk or later
For Debian GNU/Linux 3.0 (alias woody):
Upgrade to the latest apache package (1.3.26-0woody6 or later), as listed in DSA-594-1. See References.
For Turbolinux:
Upgrade to the latest apache package, as listed below. Refer to Turbolinux Security Advisory TLSA-2004-31 for more information. See References.
Turbolinux Appliance Server 1.0 Hosting Edition, Turbolinux Appliance Server 1.0 Workgroup Edition, Turbolinux 8 Server, Turbolinux 8 Workstation, Turbolinux 7 Server, Turbolinux 7 Workstation:1.3.27-26 or later
For HP-UX 11.00, 11.11, 11.22, and 11.20:
Apply the appropriate patch for your system, as listed in Hewlett-Packard Company Security Bulletin HPSBUX01098. See References.
For Mac OS:
Apply Security Update 2004-12-02, as listed in AppleCare Knowledge Base Document 61798. See References.
For Red Hat Linux Stronghold:
Refer to RHSA-2005:816-10 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Privileges
References:
- Apache Web site, Welcome! - The Apache HTTP Server Project at http://httpd.apache.org/.
- AppleCare Knowledge Base Document 61798, Security Update 2004-12-02 at http://docs.info.apple.com/article.html?artnum=61798.
- CIAC Information Bulletin P-025, Apache HTTP Server 1.3.33 Released at http://www.ciac.org/ciac/bulletins/p-025.shtml.
- CIAC Information Bulletin P-049, Apple Security Update 2004-12-02 at http://www.ciac.org/ciac/bulletins/p-049.shtml.
- slackware-security Mailing List, Mon, 1 Nov 2004 00:00:31 -0800 (PST), [slackware-security] apache+mod_ssl (SSA:2004-305-01) at http://slackware.com/security/viewer.php?l=slackware-security&y=2004&m=slackware-security.533785.
- BID-11471: Apache mod_include Local Buffer Overflow Vulnerability
- CVE-2004-0940: Buffer overflow in the get_tag function in mod_include for Apache 1.3.x to 1.3.32 allows local users who can create SSI documents to execute arbitrary code as the apache user via SSI (XSSI) documents that trigger a length calculation error.
- DSA-594: apache -- buffer overflows
- GLSA-200411-03: Apache 1.3: Buffer overflow vulnerability in mod_include
- MDKSA-2004:134: Updated apache packages fix buffer overflow in mod_include
- OpenPKG-SA-2004.047: Apache mod_include
- RHSA-2004-600: apache
- RHSA-2005-816: apache
- SA12898: Apache "mod_include" Privilege Escalation Vulnerability
- SA19073: Sun Solaris Multiple Apache Vulnerabilities
- SECTRACK ID: 1011783: Apache mod_include Buffer Overflow Lets Local Users Execute Arbitrary Code
- SUSE-SA:2004:040: samba: remote denial of service
- SUSE-SA:2004:041: xshared XFree86-libs xorg-x11-libs: remote system compromise
- SUSE-SR:2004:001: SUSE Security Summary Report
Reported:
Oct 19, 2004
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
