Apache Tomcat 9.0.0.M1 < 9.0.98 multiple vulnerabilities

critical Nessus Plugin ID 213078

Synopsis

The remote Apache Tomcat server is affected by multiple vulnerabilities

Description

The version of Tomcat installed on the remote host is prior to 9.0.98. It is, therefore, affected by multiple vulnerabilities as referenced in the fixed_in_apache_tomcat_9.0.98_security-9 advisory.

- If the default servlet is write enabled (readonly initialisation parameter set to the non-default value of false) for a case insensitive file system, concurrent read and upload under load of the same file can bypass Tomcat's case sensitivity checks and cause an uploaded file to be treated as a JSP leading to remote code execution. (CVE-2024-50379)

- Numerous examples in the examples web application did not place limits on uploaded data enabling an OutOfMemoryError to be triggered causing a denial of service. (CVE-2024-54677)

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

Solution

Upgrade to Apache Tomcat version 9.0.98 or later.

See Also

http://www.nessus.org/u?b71f671e

http://www.nessus.org/u?42a6a3c7

http://www.nessus.org/u?999c40ad

http://www.nessus.org/u?6a662d7a

http://www.nessus.org/u?ad9dfd59

http://www.nessus.org/u?1af35800

http://www.nessus.org/u?f04ad8eb

http://www.nessus.org/u?03f2aecc

http://www.nessus.org/u?2241b5ec

http://www.nessus.org/u?916874db

http://www.nessus.org/u?74eed683

http://www.nessus.org/u?9dc52384

Plugin Details

Severity: Critical

ID: 213078

File Name: tomcat_9_0_98.nasl

Version: 1.1

Type: combined

Agent: windows, macosx, unix

Family: Web Servers

Published: 12/17/2024

Updated: 12/17/2024

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2024-50379

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

Vulnerability Information

CPE: cpe:/a:apache:tomcat:9

Required KB Items: installed_sw/Apache Tomcat

Exploit Ease: No known exploits are available

Patch Publication Date: 12/9/2024

Vulnerability Publication Date: 12/9/2024

Reference Information

CVE: CVE-2024-50379, CVE-2024-54677