Apache: multiple buffer overflows — GLSA 200310-03

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

Affected Packages

www-servers/apache on all architectures
Affected versions < 1.3.29
Unaffected versions >= 1.3.29

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.

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:

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

References

Release Date
October 28, 2003

Latest Revision
December 30, 2007: 02

Severity
normal

Exploitable
local

Bugzilla entries