Amazon Linux AMI : tomcat80 (ALAS-2018-973)

medium Nessus Plugin ID 108598


The remote Amazon Linux AMI host is missing a security update.


Incorrect documentation of CGI Servlet search algorithm may lead to misconfiguration :

As part of the fix for bug 61201, the documentation for Apache Tomcat included an updated description of the search algorithm used by the CGI Servlet to identify which script to execute. The update was not correct. As a result, some scripts may have failed to execute as expected and other scripts may have been executed unexpectedly. Note that the behaviour of the CGI servlet has remained unchanged in this regard. It is only the documentation of the behaviour that was wrong and has been corrected. (CVE-2017-15706)

Late application of security constraints can lead to resource exposure for unauthorised users :

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 authorised to access them. (CVE-2018-1305)

Incorrect handling of empty string URL in security constraints can lead to unintended exposure of resources :

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 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. (CVE-2018-1304)


Run 'yum update tomcat80' to update your system.

See Also

Plugin Details

Severity: Medium

ID: 108598

File Name: ala_ALAS-2018-973.nasl

Version: 1.5

Type: local

Agent: unix

Published: 3/27/2018

Updated: 7/13/2018

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information


Risk Factor: Medium

Score: 4.4


Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/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:amazon:linux:tomcat80, p-cpe:/a:amazon:linux:tomcat80-admin-webapps, p-cpe:/a:amazon:linux:tomcat80-docs-webapp, p-cpe:/a:amazon:linux:tomcat80-el-3.0-api, p-cpe:/a:amazon:linux:tomcat80-javadoc, p-cpe:/a:amazon:linux:tomcat80-jsp-2.3-api, p-cpe:/a:amazon:linux:tomcat80-lib, p-cpe:/a:amazon:linux:tomcat80-log4j, p-cpe:/a:amazon:linux:tomcat80-servlet-3.1-api, p-cpe:/a:amazon:linux:tomcat80-webapps, cpe:/o:amazon:linux

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Patch Publication Date: 3/21/2018

Reference Information

CVE: CVE-2017-15706, CVE-2018-1304, CVE-2018-1305

ALAS: 2018-973