Amazon Linux AMI : tomcat8 (ALAS-2022-1627)

high Nessus Plugin ID 163869

Synopsis

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

Description

The version of tomcat8 installed on the remote host is prior to 8.5.81-1.91. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS-2022-1627 advisory.

- If a web application sends a WebSocket message concurrently with the WebSocket connection closing when running on Apache Tomcat 8.5.0 to 8.5.75 or Apache Tomcat 9.0.0.M1 to 9.0.20, it is possible that the application will continue to use the socket after it has been closed. The error handling triggered in this case could cause the a pooled object to be placed in the pool twice. This could result in subsequent connections using the same object concurrently which could result in data being returned to the wrong use and/or other errors. (CVE-2022-25762)

- The documentation of Apache Tomcat 10.1.0-M1 to 10.1.0-M14, 10.0.0-M1 to 10.0.20, 9.0.13 to 9.0.62 and 8.5.38 to 8.5.78 for the EncryptInterceptor incorrectly stated it enabled Tomcat clustering to run over an untrusted network. This was not correct. While the EncryptInterceptor does provide confidentiality and integrity protection, it does not protect against all risks associated with running over any untrusted network, particularly DoS risks. (CVE-2022-29885)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update tomcat8' to update your system.

See Also

https://alas.aws.amazon.com/cve/html/CVE-2022-25762.html

https://alas.aws.amazon.com/cve/html/CVE-2022-29885.html

https://alas.aws.amazon.com/ALAS-2022-1627.html

Plugin Details

Severity: High

ID: 163869

File Name: ala_ALAS-2022-1627.nasl

Version: 1.2

Type: local

Agent: unix

Published: 8/5/2022

Updated: 8/5/2022

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

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

CVSS Score Source: CVE-2022-25762

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 7.5

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

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

Vulnerability Information

CPE: cpe:2.3:o:amazon:linux:*:*:*:*:*:*:*:*, 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:*:*:*:*:*:*:*

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

Exploit Ease: No known exploits are available

Patch Publication Date: 7/28/2022

Vulnerability Publication Date: 6/7/2019

Reference Information

CVE: CVE-2022-29885, CVE-2022-25762

IAVA: 2022-A-0222