Apache Tomcat 7.0.x < 7.0.30 Multiple Vulnerabilities

This script is Copyright (C) 2012-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 7.0 listening on the remote host is earlier than Tomcat 7.0.30
and, therefore, may be affected by the following vulnerabilities :

- An error related to chunked transfer encoding and
extensions could allow limited denial of service
attacks. (CVE-2012-3544)

- An error exists related to FORM authentication that can
allow security bypass if 'j_security_check' is appended
to the request. (CVE-2012-3546)

- Replay-countermeasure functionality in HTTP Digest
Access Authentication tracks cnonce values instead of
nonce values, which makes it easier for attackers to
bypass access restrictions by sniffing the network for
valid requests. (CVE-2012-5885)

- HTTP Digest Access Authentication implementation caches
information about the authenticated user, which could
potentially allow an attacker to bypass authentication
via session ID. (CVE-2012-5886)

- HTTP Digest Access Authentication implementation does
not properly check for stale nonce values with
enforcement of proper credentials, which allows an
attacker to bypass restrictions by sniffing requests.
(CVE-2012-5887)

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 these may be
false positives.

See also :

http://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.30
http://seclists.org/fulldisclosure/2012/Dec/73

Solution :

Update Apache Tomcat to version 7.0.30 or later.

Risk factor :

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

Family: Web Servers

Nessus Plugin ID: 62988 ()

Bugtraq ID: 56403
56812
59797

CVE ID: CVE-2012-3544
CVE-2012-3546
CVE-2012-5885
CVE-2012-5886
CVE-2012-5887