FreeBSD : tomcat -- Security constraints ignored or applied too late (55c4233e-1844-11e8-a712-0025908740c2)

medium Nessus Plugin ID 107043



The remote FreeBSD host is missing one or more security-related updates.


The Apache Software Foundation reports :

Security constraints defined by annotations of Servlets 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 authorised to access them.

The URL pattern of '' (the empty string) which exactly maps to the context root was not correctly handled when used as part of a security constraint definition. This caused the constraint to be ignored. It was, therefore, possible for unauthorised 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.


Update the affected packages.

See Also

Plugin Details

Severity: Medium

ID: 107043

File Name: freebsd_pkg_55c4233e184411e8a7120025908740c2.nasl

Version: 3.8

Type: local

Published: 2/28/2018

Updated: 11/10/2018

Risk Information


Risk Factor: Medium

Score: 5.1


Risk Factor: Medium

Base Score: 4.3

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


Risk Factor: Medium

Base Score: 6.5

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:tomcat, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 2/23/2018

Vulnerability Publication Date: 2/23/2018

Reference Information

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