Apache HTTP Server environment variable configuration file buffer overflow

apache-env-configuration-bo (17384) The risk level is classified as HighHigh Risk

Description:

Apache HTTP Server is vulnerable to a buffer overflow when expanding environment variables in an .htaccess or httpd.conf configuration file. By creating a malicious configuration file, a local attacker with apache privileges could overflow a buffer and execute arbitrary code on the system, once the malicious file is parsed.

*CVSS:

Base Score: 4.9
  Access Vector: Local
  Access Complexity: Low
  Authentication: Not Required
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
 
Temporal Score: 3.6
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Privileges

Remedy:

Upgrade to the latest version of Apache HTTP Server (2.0.51 or later), available from the Apache HTTP Server Web site. See References.

For Red Hat Desktop and Red Hat Enterprise Linux AS, ES and WS:
Upgrade to the latest httpd package (2.0.46-40 or later), available from RHSA-2004:463-09. See References.

For SuSE Linux:
Upgrade to the latest httpd package, as listed below. Refer to SuSE Security Announcement SUSE-SA:2004:032 for more information. See References.

SuSE Linux 9.1: 2.0.49-27.14 or later
SuSE Linux 9.0: 2.0.48-139 or later
SuSE Linux 8.2: 2.0.48-139 or later
SuSE Linux 8.1: 2.0.48-139 or later

For Mandrake Linux:
Upgrade to the latest apache2 package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:096 : apache2 for more information. See References.

Mandrake Linux 9.2: 2.0.47-6.9.92mdk or later
Mandrake Linux 10.0: 2.0.48-6.6.100mdk or later

For Turbolinux:
Upgrade to the latest httpd package, as listed below. Refer to Turbolinux Security Advisory TLSA-2004-28 for more information. See References.

Turbolinux 10 Desktop: 2.0.48-6 or later

For Trustix Secure Linux:
Upgrade to the latest apache package, as listed below. Refer to Trustix Secure Linux Security Advisory #2004-0047 for more information. See References.

Trustix Secure Linux 2.0: 2.0.51-0.1tr or later
Trustix Secure Linux 2.1 and Enterprise Server 2: 2.0.51-1tr or later

For Gentoo Linux:
Upgrade to the latest version of apache (2.0.51, < 2.0 or later) or mod_dav (1.0.3-r2 or later), as listed in GLSA 200409-21. See References.

For Conectiva Linux:
Upgrade to the latest apache package, as listed below. Refer to Conectiva Linux Security Announcement CLSA-2004:868 for more information. See References.

Conectiva Linux 10: 2.0.49-61251U10_1cl or later
Conectiva Linux 9: 2.0.45-28790U90_8cl or later

For HP 11.00, 11.11, 11.22, and 11.23:
Apply the appropriate patch for your system, as listed in Hewlett-Packard Company Security Bulletin HPSBUX01090 for more information. See References.

For HP Tru64UNIX 6.4:
Apply the appropriate patch for your system, as listed in Hewlett-Packard Company Security Bulletin HPSBUX01090 for more information. See References.

For Mac OS:
Apply Security Update 2004-12-02, as listed in AppleCare Knowledge Base Document 61798. See References.

For other distributions:
Apply the appropriate update for your system. See References.

References:

Platforms Affected:

  • Apache HTTP Server 2.0
  • Apache HTTP Server 2.0.28
  • Apache HTTP Server 2.0.32
  • Apache HTTP Server 2.0.35
  • Apache HTTP Server 2.0.36
  • Apache HTTP Server 2.0.37
  • Apache HTTP Server 2.0.38
  • Apache HTTP Server 2.0.39
  • Apache HTTP Server 2.0.40
  • Apache HTTP Server 2.0.41
  • Apache HTTP Server 2.0.42
  • Apache HTTP Server 2.0.43
  • Apache HTTP Server 2.0.44
  • Apache HTTP Server 2.0.45
  • Apache HTTP Server 2.0.46
  • Apache HTTP Server 2.0.47
  • Apache HTTP Server 2.0.48
  • Apache HTTP Server 2.0.49
  • Apache HTTP Server 2.0.50
  • Apple Mac OS X Server 10.2.8
  • Apple Mac OS X Server 10.3.6
  • CA ARCserve Backup 11.5 AIX
  • CA ARCserve Backup 11.5 HP-UX
  • CA ARCserve Backup 11.5 Solaris
  • CA ARCserve Backup 11.5 Tru64
  • Compaq Tru64 6.4
  • Conectiva Linux 10
  • Conectiva Linux 9.0
  • Gentoo Linux
  • HP HP-UX 11.00
  • HP HP-UX 11.11
  • HP HP-UX 11.22
  • HP HP-UX 11.23
  • MandrakeSoft Mandrake Linux 10.0
  • MandrakeSoft Mandrake Linux 10.0 AMD64
  • MandrakeSoft Mandrake Linux 9.2
  • MandrakeSoft Mandrake Linux 9.2 AMD64
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 ES
  • 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 SLES 9
  • Trustix Enterprise Server 2
  • Trustix Secure Linux 2.0
  • Trustix Secure Linux 2.1
  • Turbolinux Turbolinux 10 Desktop
  • Turbolinux Turbolinux 10 F...

Reported:

Sep 15, 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

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.