Permissions, privileges, and access controls in Apache Tomcat - CVE-2024-56337

 

Permissions, privileges, and access controls in Apache Tomcat - CVE-2024-56337

Published: December 20, 2024


Vulnerability identifier: #VU101893
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-56337
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to incomplete mitigation for #VU101814(CVE-2024-50379) on a case insensitive file system with the default servlet write enabled (readonly initialisation parameter set to the non-default value of false). A remote attacker can upload malicious files to the server and execute them compromising the system.

The mitigation bypass depends on the version of Java used on the system.


Affected software

Apache Tomcat
Confluence Server
Debian Linux
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Manager Server
SUSE Enterprise Storage
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Anolis OS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Web and Scripting Module
openSUSE Leap
openEuler
IBM Cloud Pak for Security
EasyApache
Crowd Data Center
IBM Sterling Partner Engagement Manager
Confluence Data Center
Oracle Financial Services Model Management and Governance
IBM Maximo Application Suite - AI Broker
Oracle Communications Cloud Native Core Network Data Analytics Function
Management Cloud Engine
Unified OSS Console Assurance Monitoring (UOCAM)
APEX Cloud Platform for Red Hat OpenShift
IBM Watson Discovery for IBM Cloud Pak for Data
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
Dell Secure Connect Gateway
IBM Integration Bus
QRadar Suite
Juniper Secure Analytics (JSA)
Cloud Pak for Network Automation
Cloudera Observability with IBM
DevOps Solution Workbench
Oracle Agile Engineering Data Management
IBM Business Automation Manager Open Editions
CICS Transaction Gateway for Multiplatforms
CICS Transaction Gateway Desktop Edition
webMethods developer portal
Oracle Communications Policy Management
Storage Copy Data Management
Storage Resource Manager
Telco Service Orchestrator
Storage Protect Plus Server
Crowd Server
Cloudera Data Platform Private Cloud Base for IBM
Oracle Managed File Transfer
IBM Qradar SIEM
APROL
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
tomcat-webapps
tomcat
tomcat-admin-webapps
tomcat-docs-webapp
tomcat-el-3.0-api
tomcat-jsp-2.3-api
tomcat-lib
tomcat-servlet-4.0-api
tomcat (Red Hat package)
tomcat9 (Red Hat package)
tomcat-doc
tomcat-help
tomcat-jsvc
tomcat-servlet-4_0-api
tomcat-embed
tomcat-javadoc
tomcat-jsp-2_3-api
tomcat-el-3_0-api
tomcat10 (Debian package)
tomcat10-embed
tomcat10-lib
tomcat10-servlet-6_0-api
tomcat10-jsvc
tomcat10-jsp-3_1-api
tomcat10-admin-webapps
tomcat10-el-5_0-api
tomcat10-docs-webapp
tomcat10
tomcat10-doc
tomcat10-webapps
watsonx.data
HPE Unified OSS Console (UOC)
Dell EMC Storage Monitoring and Reporting (SMR)

How to mitigate CVE-2024-56337

Update to the latest version of Apache Tomcat and follow the instructions below:

- running on Java 8 or Java 11: the system property sun.io.useCanonCaches must be explicitly set to false (it defaults to true)
- running on Java 17: the system property sun.io.useCanonCaches, if set, must be set to false (it defaults to false)
- running on Java 21 onwards: no further configuration is required (the system property and the problematic cache have been removed)


Apache Tomcat - addressed in versions 9.0.98, 10.1.34, 11.0.2
IBM Cloud Pak for Security - update to 1.11.3.0
QRadar Suite - update to 1.11.3.0
Cloud Pak for Network Automation - update to 2.7.8
Cloudera Observability with IBM - update to 3.6.2
EasyApache - update to 4 25-5
Crowd Server - update to 6.2.2
Crowd Data Center - update to 6.2.2
IBM Sterling Partner Engagement Manager - addressed in versions 6.2.3.5, 6.2.4.2
Confluence Server - addressed in versions 8.5.19, 9.2.1
Confluence Data Center - addressed in versions 8.5.19, 9.2.1
IBM Qradar SIEM - update to 7.5.0 Update Pack 11 IF01
IBM Business Automation Manager Open Editions - update to 8.0.8
IBM Maximo Application Suite - AI Broker - update to 9.0.5
webMethods developer portal - update to 11.1.6
APROL - update to R 4.4-01P5
watsonx.data - update to 2.1.1
Storage Copy Data Management - update to 2.2.26.0
HPE Unified OSS Console (UOC) - update to 3.1.13
Unified OSS Console Assurance Monitoring (UOCAM) - update to 3.1.13
APEX Cloud Platform for Red Hat OpenShift - update to 03.02.04.00
IBM Watson Discovery for IBM Cloud Pak for Data - addressed in versions 4.8.8, 5.1.1
Dell EMC Storage Monitoring and Reporting (SMR) - addressed in versions 5.0.2.2, 5.1.0.0
Storage Resource Manager - addressed in versions 5.0.2.2, 5.1.0.0
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 5.1.1
Telco Service Orchestrator - update to 5.2.1
Dell Secure Connect Gateway - update to 5.28.00.14
Juniper Secure Analytics (JSA) - update to 7.5.0 UP11 IF03
tomcat-webapps - addressed in versions 9.0.87-1, 9.0.98-1
tomcat - addressed in versions 9.0.87-1, 9.0.98-1
tomcat-admin-webapps - addressed in versions 9.0.87-1, 9.0.98-1
tomcat-docs-webapp - addressed in versions 9.0.87-1, 9.0.98-1
tomcat-el-3.0-api - addressed in versions 9.0.87-1, 9.0.98-1
tomcat-jsp-2.3-api - addressed in versions 9.0.87-1, 9.0.98-1
tomcat-lib - addressed in versions 9.0.87-1, 9.0.98-1
tomcat-servlet-4.0-api - addressed in versions 9.0.87-1, 9.0.98-1
tomcat (Red Hat package) - addressed in versions 9.0.87-1.el8_8.5, 9.0.87-1.el8_10.4, 9.0.87-1.el9_2.4, 9.0.87-1.el9_4.4, 9.0.87-3.el9_6.1
tomcat9 (Red Hat package) - update to 9.0.87-5.el10_0.1
tomcat-doc - update to 9.0.98-1
tomcat - update to 9.0.100-1
tomcat-help - update to 9.0.100-1
tomcat-jsvc - update to 9.0.100-1
tomcat-servlet-4_0-api - update to 9.0.102-150200.78.1
tomcat-embed - update to 9.0.102-150200.78.1
tomcat-docs-webapp - update to 9.0.102-150200.78.1
tomcat-javadoc - update to 9.0.102-150200.78.1
tomcat-jsp-2_3-api - update to 9.0.102-150200.78.1
tomcat - update to 9.0.102-150200.78.1
tomcat-el-3_0-api - update to 9.0.102-150200.78.1
tomcat-webapps - update to 9.0.102-150200.78.1
tomcat-admin-webapps - update to 9.0.102-150200.78.1
tomcat-lib - update to 9.0.102-150200.78.1
tomcat-jsvc - update to 9.0.102-150200.78.1
IBM Integration Bus - update to 10.1.0.5
Storage Protect Plus Server - update to 10.1.18
tomcat10 (Debian package) - update to 10.1.34-0+deb12u1
tomcat10-embed - update to 10.1.39-150200.5.36.1
tomcat10-lib - update to 10.1.39-150200.5.36.1
tomcat10-servlet-6_0-api - update to 10.1.39-150200.5.36.1
tomcat10-jsvc - update to 10.1.39-150200.5.36.1
tomcat10-jsp-3_1-api - update to 10.1.39-150200.5.36.1
tomcat10-admin-webapps - update to 10.1.39-150200.5.36.1
tomcat10-el-5_0-api - update to 10.1.39-150200.5.36.1
tomcat10-docs-webapp - update to 10.1.39-150200.5.36.1
tomcat10 - update to 10.1.39-150200.5.36.1
tomcat10-doc - update to 10.1.39-150200.5.36.1
tomcat10-webapps - update to 10.1.39-150200.5.36.1

External References

Related Security Bulletins