Apache Tomcat 4.x < 4.1.32 Multiple Vulnerabilities

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


Synopsis :

The remote Apache Tomcat service may be affected by multiple
vulnerabilities.

Description :

According to its self-reported version number, the instance of Apache
Tomcat 4.x listening on the remote host is earlier than 4.1.32 and,
therefore, may be affected by the following vulnerabilities :

- The remote Apache Tomcat install is vulnerable to a
denial of service attack. If directory listing is
enabled, function calls to retrieve the contents of
large directories can degrade performance.
(CVE-2005-3510)

- The remote Apache Tomcat install may be vulnerable to
a cross-site scripting attack if the JSP examples are
enabled. Several of these JSP examples do not properly
validate user input. (CVE-2005-4838)

- The remote Apache Tomcat install allows remote users
to list the contents of a directory by placing a
semicolon before a filename with a mapped extension.
(CVE-2006-3835)

- If enabled, the JSP calendar example application is
vulnerable to a cross-site scripting attack because
user input is not properly validated. (CVE-2006-7196)

- The remote Apache Tomcat install, in its default
configuration, permits the use of insecure ciphers when
using SSL. (CVE-2007-1858)

- The remote Apache Tomcat install may be vulnerable to an
information disclosure attack by allowing requests from
a non-permitted IP address to gain access to a context
that is protected with a valve that extends
RequestFilterValve. (CVE-2008-3271)

Note that Nessus did not actually test for the flaws but instead has
relied on the version in Tomcat's banner or error page so this may be
a false positive.

See also :

http://tomcat.apache.org/security-4.html#Fixed_in_Apache_Tomcat_4.1.32
https://issues.apache.org/bugzilla/show_bug.cgi?id=25835

Solution :

Update to Apache Tomcat version 4.1.32 or later.

Risk factor :

Medium / CVSS Base Score : 5.0
(CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N)
CVSS Temporal Score : 4.1
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Web Servers

Nessus Plugin ID: 47029 ()

Bugtraq ID: 15325
19106
25531
28482
31698

CVE ID: CVE-2005-3510
CVE-2005-4838
CVE-2006-3835
CVE-2006-7196
CVE-2007-1858
CVE-2008-3271