Debian DLA-1301-1 : tomcat7 security update

medium Nessus Plugin ID 107151
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Debian host is missing a security update.

Description

Two security vulnerabilities have been discovered in the Tomcat servlet and JSP engine.

CVE-2018-1304 The URL pattern of '' (the empty string) which exactly maps to the context root was not correctly handled in Apache Tomcat when used as part of a security constraint definition. This caused the constraint to be ignored. It was, therefore, possible for unauthorized users to gain access to web application resources that should have been protected. Only security constraints with a URL pattern of the empty string were affected.

CVE-2018-1305 Security constraints defined by annotations of Servlets in Apache Tomcat were only applied once a Servlet had been loaded.
Because security constraints defined in this way apply to the URL pattern and any URLs below that point, it was possible - depending on the order Servlets were loaded - for some security constraints not to be applied. This could have exposed resources to users who were not authorized to access them.

For Debian 7 'Wheezy', these problems have been fixed in version 7.0.28-4+deb7u18.

We recommend that you upgrade your tomcat7 packages.

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected packages.

See Also

https://lists.debian.org/debian-lts-announce/2018/03/msg00004.html

https://packages.debian.org/source/wheezy/tomcat7

Plugin Details

Severity: Medium

ID: 107151

File Name: debian_DLA-1301.nasl

Version: 1.10

Type: local

Agent: unix

Published: 3/7/2018

Updated: 1/11/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: AV:N/AC:M/Au:N/C:P/I:N/A:N

Temporal Vector: E:U/RL:OF/RC:C

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libservlet3.0-java, p-cpe:/a:debian:debian_linux:libservlet3.0-java-doc, p-cpe:/a:debian:debian_linux:libtomcat7-java, p-cpe:/a:debian:debian_linux:tomcat7, p-cpe:/a:debian:debian_linux:tomcat7-admin, p-cpe:/a:debian:debian_linux:tomcat7-common, p-cpe:/a:debian:debian_linux:tomcat7-docs, p-cpe:/a:debian:debian_linux:tomcat7-examples, p-cpe:/a:debian:debian_linux:tomcat7-user, cpe:/o:debian:debian_linux:7.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 3/6/2018

Reference Information

CVE: CVE-2018-1304, CVE-2018-1305