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

medium Nessus Plugin ID 104179
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 7.4

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: Medium

ID: 104179

File Name: ala_ALAS-2017-913.nasl

Version: 3.7

Type: local

Agent: unix

Published: 10/27/2017

Updated: 4/10/2019

Dependencies: 12634

Risk Information

Risk Factor: Medium

VPR Score: 7.4

CVSS v2.0

Base Score: 6.8

Temporal Score: 5.6

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

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

CVSS v3.0

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

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

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