GLSA-200406-05 : Apache: Buffer overflow in mod_ssl

This script is Copyright (C) 2004-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200406-05
(Apache: Buffer overflow in mod_ssl)

A bug in the function ssl_util_uuencode_binary in ssl_util.c may lead to a
remote buffer overflow on a server configured to use FakeBasicAuth that
will trust a client certificate with an issuing CA with a subject DN longer
than 6k.

Impact :

Given the right server configuration, an attacker could cause a Denial of
Service or execute code as the user running Apache, usually
'apache'. It is thought to be impossible to exploit this to
execute code on the x86 platform, but the possibility for other platforms
is unknown. This does not preclude a DoS on x86 systems.

Workaround :

A server should not be vulnerable if it is not configured to use
FakeBasicAuth and to trust a client CA with a long subject DN.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200406-05.xml

Solution :

Apache 1.x users should upgrade to the latest version of mod_ssl:
# emerge sync
# emerge -pv '>=net-www/mod_ssl-2.8.18'
# emerge '>=net-www/mod_ssl-2.8.18'
Apache 2.x users should upgrade to the latest version of Apache:
# emerge sync
# emerge -pv '>=www-servers/apache-2.0.49-r3'
# emerge '>=www-servers/apache-2.0.49-r3'

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 14516 (gentoo_GLSA-200406-05.nasl)

Bugtraq ID:

CVE ID: CVE-2004-0488