Gentoo: Apache Multiple vulnerabilities
Posted by Benjamin D. Thomas   
Gentoo =3D=3D=3D=3D=3D=3D=3D=3D Multiple vulnerabilities in the Apache HTTP daemon allow for local privilege escalation, information disclosure or Denial of Service attacks.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200907-04
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: Apache: Multiple vulnerabilities
      Date: July 12, 2009
      Bugs: #268154, #271470, #276426, #276792
        ID: 200907-04

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D

Multiple vulnerabilities in the Apache HTTP daemon allow for local
privilege escalation, information disclosure or Denial of Service
attacks.

Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

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

Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

    -------------------------------------------------------------------
     Package             /   Vulnerable   /                 Unaffected
    -------------------------------------------------------------------
  1  www-servers/apache      < 2.2.11-r2                  >=3D 2.2.11-r2

Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Multiple vulnerabilities have been discovered in the Apache HTTP
server:

* Jonathan Peatfield reported that the "Options=3DIncludesNoEXEC"
  argument to the "AllowOverride" directive is not processed properly
  (CVE-2009-1195).

* Sander de Boer discovered that the AJP proxy module (mod_proxy_ajp)
  does not correctly handle POST requests that do not contain a request
  body (CVE-2009-1191).

* The vendor reported that the HTTP proxy module (mod_proxy_http),
  when being used as a reverse proxy, does not properly handle requests
  containing more data as stated in the "Content-Length" header
  (CVE-2009-1890).

* Francois Guerraz discovered that mod_deflate does not abort the
  compression of large files even when the requesting connection is
  closed prematurely (CVE-2009-1891).

Impact
=3D=3D=3D=3D=3D=3D

A local attacker could circumvent restrictions put up by the server
administrator and execute arbitrary commands with the privileges of the
user running the Apache server. A remote attacker could send multiple
requests to a server with the AJP proxy module, possibly resulting in
the disclosure of a request intended for another client, or cause a
Denial of Service by sending specially crafted requests to servers
running mod_proxy_http or mod_deflate.

Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Remove "include", "mod_proxy_ajp", "mod_proxy_http" and "deflate" from
APACHE2_MODULES in make.conf and rebuild Apache, or disable the
aforementioned modules in the Apache configuration.

Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

All Apache users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=3Dwww-servers/apache-2.2.11-r2"

References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

  [ 1 ] CVE-2009-1195
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2009-1195
  [ 2 ] CVE-2009-1191
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2009-1191
  [ 3 ] CVE-2009-1890
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2009-1890
  [ 4 ] CVE-2009-1891
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2009-1891

Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200907-04.xml

Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D

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
http://bugs.gentoo.org.

License
=3D=3D=3D=3D=3D=3D=3D

Copyright 2009 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.

http://creativecommons.org/licenses/by-sa/2.5