Apache: multiple buffer overflows

Security Team  Contact Address

Updated October 28, 2003

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200310-03 / Apache
Release Date October 28, 2003
Latest Revision December 30, 2007: 02
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
www-servers/apache < 1.3.29 >= 1.3.29 All supported architectures

Related bugreports: #32194

Synopsis

Multiple stack-based buffer overflows in mod_alias and mod_rewrite can allow execution of arbitrary code and cause a denial of service.

2.  Impact Information

Background

The Apache HTTP Server is one of the most popular web servers on the Internet.

Description

Multiple stack-based buffer overflows in mod_alias and mod_rewrite allow attackers who can create or edit configuration files including .htaccess files, to cause a denial of service and execute arbitrary code via a regular expression containing more than 9 captures.

Impact

An attacker may cause a denial of service or execute arbitrary code with the privileges of the user that is running apache.

3.  Resolution Information

Workaround

There is no known workaround at this time, other than to disable both mod_alias and mod_rewrite.

Resolution

It is recommended that all Gentoo Linux users who are running net-misc/apache 1.x upgrade:

Code Listing 3.1: Resolution

# emerge sync
# emerge -pv apache
# emerge '>=www-servers/apache-1.3.29'
# emerge clean
# /etc/init.d/apache restart

4.  References