Apache Tomcat < 5.5.26 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 Apache Tomcat
listening on the remote host is earlier than Tomcat 5.5.26 and,
therefore, may affected by multiple vulnerabilities.

- The remote Apache Tomcat install may be vulnerable to an
information disclosure attack via cookies. The previous
fix for CVE-2007-3385 was incomplete and did not account
for the use of quotes or '%5C' in cookie values.
(CVE-2007-3385, CVE-2007-5333)

- The default security policy in the JULI logging
component did not restrict access permissions to files.
This could be misused by untrusted web applications to
access and write arbitrary files in the context of the
tomcat process. (CVE-2007-5342)

- The remote Apache Tomcat install may be vulnerable to an
information disclosure attack via the WebDAV servlet.
Certain WebDAV requests, containing an entity with a
SYSTEM tag can result in the disclosure of arbitrary
file contents. (CVE-2007-5461)

- When the native APR connector is used, it does not
properly handle an empty request to the SSL port, which
allows remote attackers to trigger handling of a
duplicate copy of one of the recent requests, as
demonstrated by using netcat to send the empty request.
(CVE-2007-6286)

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-5.html#Fixed_in_Apache_Tomcat_5.5.26

Solution :

Update Apache Tomcat to version 5.5.26 or later.

Risk factor :

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

Family: Web Servers

Nessus Plugin ID: 47576 ()

Bugtraq ID: 26070
27006
27706
49470

CVE ID: CVE-2007-5333
CVE-2007-5342
CVE-2007-5461
CVE-2007-6286