GLSA 200310-04: Apache: buffer overflows and a possible information disclosure

Severity:normal
Title:Apache: buffer overflows and a possible information disclosure
Date:10/31/2003
Bugs: #32271
ID:200310-04

Synopsis

Multiple stack-based buffer overflows in mod_alias and mod_rewrite can allow execution of arbitrary code and cause a denial of service, and a bug in the way mod_cgid handles CGI redirect paths could result in CGI output going to the wrong client.

Background

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

Affected packages

Package Vulnerable Unaffected Architecture(s)
www-servers/apache < 2.0.48 >= 2.0.48 All supported architectures

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, and a bug in the way mod_cgid handles CGI redirect paths could result in CGI output going to the wrong client when a threaded MPM is used, resulting in an information disclosure.

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.

Resolution

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

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

Please remember to update your config files in /etc/apache2 as --datadir has been changed to /var/www/localhost.

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200310-04.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!