GLSA 200406-16: Apache 1.3: Buffer overflow in mod_proxy

Severity:normal
Title:Apache 1.3: Buffer overflow in mod_proxy
Date:06/21/2004
Bugs: #53544
ID:200406-16

Synopsis

A bug in mod_proxy may allow a remote attacker to execute arbitrary code when Apache is configured a certain way.

Background

The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems. The goal of this project is to provide a secure, efficient and extensible server that provides services in tune with the current HTTP standards.

Affected packages

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

Description

A bug in the proxy_util.c file may lead to a remote buffer overflow. To trigger the vulnerability an attacker would have to get mod_proxy to connect to a malicous server which returns an invalid (negative) Content-Length.

Impact

An attacker could cause a Denial of Service as the Apache child handling the request, which will die and under some circumstances execute arbitrary code as the user running Apache, usually "apache".

Workaround

There is no known workaround at this time. All users are encouraged to upgrade to the latest available version:

Resolution

Apache 1.x users should upgrade to the latest version of Apache:

    # emerge sync

    # emerge -pv ">=www-servers/apache-1.3.31-r2"
    # emerge ">=www-servers/apache-1.3.31-r2"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200406-16.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!