Amazon Linux AMI : tomcat8 / tomcat80,tomcat7 (ALAS-2017-913)

high Nessus Plugin ID 104179

Synopsis

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

Description

A vulnerability was discovered in Tomcat where if a servlet context was configured with readonly=false and HTTP PUT requests were allowed, an attacker could upload a JSP file to that context and achieve code execution. (CVE-2017-12617)

Solution

Run 'yum update tomcat8' to update your system.

Run 'yum update tomcat80' to update your system.

Run 'yum update tomcat7' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2017-913.html

Plugin Details

Severity: High

ID: 104179

File Name: ala_ALAS-2017-913.nasl

Version: 3.9

Type: local

Agent: unix

Published: 10/27/2017

Updated: 12/5/2022

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

Risk Information

VPR

Risk Factor: Critical

Score: 9.2

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.6

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

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.5

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

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

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:tomcat8, p-cpe:/a:amazon:linux:tomcat8-admin-webapps, p-cpe:/a:amazon:linux:tomcat8-docs-webapp, p-cpe:/a:amazon:linux:tomcat8-el-3.0-api, p-cpe:/a:amazon:linux:tomcat8-javadoc, p-cpe:/a:amazon:linux:tomcat8-jsp-2.3-api, p-cpe:/a:amazon:linux:tomcat8-lib, p-cpe:/a:amazon:linux:tomcat8-log4j, p-cpe:/a:amazon:linux:tomcat8-servlet-3.1-api, p-cpe:/a:amazon:linux:tomcat8-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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/26/2017

Vulnerability Publication Date: 10/4/2017

CISA Known Exploited Vulnerability Due Dates: 4/15/2022

Exploitable With

Core Impact

Metasploit (Tomcat RCE via JSP Upload Bypass)

Elliot (Apache Tomcat for Windows HTTP PUT Method File Upload)

Reference Information

CVE: CVE-2017-12617

ALAS: 2017-913