Amazon Linux AMI : tomcat7 / tomcat80 (ALAS-2018-1055)

critical Nessus Plugin ID 111610
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 Amazon Linux AMI host is missing a security update.

Description

The defaults settings for the CORS filter provided in Apache Tomcat are insecure and enable 'supportsCredentials' for all origins. It is expected that users of the CORS filter will have configured it appropriately for their environment rather than using it in the default configuration. Therefore, it is expected that most users will not be impacted by this issue.(CVE-2018-8014)

An improper handing of overflow in the UTF-8 decoder with supplementary characters can lead to an infinite loop in the decoder causing a Denial of Service. Versions Affected: Apache Tomcat 8.0.0.RC1 to 8.0.51, and 7.0.28 to 7.0.86. (CVE-2018-1336)

The host name verification when using TLS with the WebSocket client was missing. It is now enabled by default. Versions Affected: Apache Tomcat 8.0.0.RC1 to 8.0.52, and 7.0.35 to 7.0.88.(CVE-2018-8034)

Solution

Run 'yum update tomcat7' to update your system.

Run 'yum update tomcat80' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2018-1055.html

Plugin Details

Severity: Critical

ID: 111610

File Name: ala_ALAS-2018-1055.nasl

Version: 1.2

Type: local

Agent: unix

Published: 8/10/2018

Updated: 8/31/2018

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.5

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:tomcat7, p-cpe:/a:amazon:linux:tomcat7-admin-webapps, p-cpe:/a:amazon:linux:tomcat7-docs-webapp, p-cpe:/a:amazon:linux:tomcat7-el-2.2-api, p-cpe:/a:amazon:linux:tomcat7-javadoc, p-cpe:/a:amazon:linux:tomcat7-jsp-2.2-api, p-cpe:/a:amazon:linux:tomcat7-lib, p-cpe:/a:amazon:linux:tomcat7-log4j, p-cpe:/a:amazon:linux:tomcat7-servlet-3.0-api, p-cpe:/a:amazon:linux:tomcat7-webapps, 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: 8/9/2018

Reference Information

CVE: CVE-2018-1336, CVE-2018-8014, CVE-2018-8034

ALAS: 2018-1055