Input validation error in Apache Tomcat - CVE-2025-24813

 

Input validation error in Apache Tomcat - CVE-2025-24813

Published: March 10, 2025 / Updated: September 17, 2025


Vulnerability identifier: #VU105485
CSH Severity: Critical
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-2025-24813
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

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

The vulnerability exists due to insufficient validation of user-supplied input when handling file uploads via HTTP PUT requests. A remote attacker can send a specially crafted HTTP PUT request to the server and gain access to sensitive information or even execute arbitrary code.

If all of the following were true, a malicious user was able to view security sensitive files and/or inject content into those files:

  • writes enabled for the default servlet (disabled by default)
  • support for partial PUT (enabled by default)
  • a target URL for security sensitive uploads that is a sub-directory of a target URL for public uploads
  • attacker knowledge of the names of security sensitive files being uploaded
  • the security sensitive files also being uploaded via partial PUT

If all of the following were true, a malicious user was able to perform remote code execution:

  • writes enabled for the default servlet (disabled by default)
  • support for partial PUT (enabled by default)
  • application was using Tomcat's file based session persistence with the default storage location
  • application included a library that may be leveraged in a deserialization attack



Affected software

Apache Tomcat
JBoss Web Server
SUSE Linux Enterprise Server 15 SP5
Oracle Linux
Debian Linux
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12 SP5
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 Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Manager Server
SUSE Enterprise Storage
Red Hat Enterprise Linux for ARM 64
Anolis OS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Web and Scripting Module
openSUSE Leap
Ubuntu
Oracle Solaris
Rapid Infrastructure Automation
Quantum Safe Explorer
Cloudera Observability with IBM
DevOps Solution Workbench
IBM Business Automation Manager Open Editions
CICS Transaction Gateway Desktop Edition
CICS Transaction Gateway for Multiplatforms
webMethods developer portal
Oracle Communications Policy Management
Storage Copy Data Management
Telco Unified OSS Console
watsonx Assistant Cartridge
watsonx Orchestrate with watsonx Assistant Cartridge - Assistant Builder Component
Telco Service Orchestrator
Storage Protect Plus Server
webMethods BPM
Guardium Data Protection
Netcool Operations Insight
IBM Watson Discovery for IBM Cloud Pak for Data
Oracle Communications Session Report Manager
Oracle SD-WAN Edge
Desktop Laptop Option
IBM Integration Bus
IBM Power Hardware Management Console (HMC)
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
Talend Administration Center
watsonx.data
Communications Unified Assurance
Cloudera Data Platform Private Cloud Base for IBM
Oracle Communications Element Manager
IBM Qradar SIEM
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
tomcat10 (Ubuntu package)
tomcat-webapps
tomcat
tomcat-docs-webapp
tomcat-servlet-4_0-api
tomcat-jsp-2_3-api
tomcat-javadoc
tomcat-admin-webapps
tomcat-lib
tomcat-el-3_0-api
tomcat9 (Ubuntu package)
tomcat-servlet-4.0-api
tomcat-jsp-2.3-api
tomcat-el-3.0-api
tomcat (Red Hat package)
jws5-tomcat (Red Hat package)
tomcat-doc
tomcat-embed
tomcat-jsvc
tomcat10 (Debian package)
tomcat10-webapps
tomcat10-doc
tomcat10
tomcat10-docs-webapp
tomcat10-embed
tomcat10-lib
tomcat10-servlet-6_0-api
tomcat10-jsvc
tomcat10-el-5_0-api
tomcat10-jsp-3_1-api
tomcat10-admin-webapps
Oracle Commerce Guided Search
Oracle Hospitality Cruise Shipboard Property Management System
Siebel CRM Deployment

How to mitigate CVE-2025-24813

Install updates from vendor's website.

Apache Tomcat - addressed in versions 9.0.99, 10.1.35, 11.0.3
Rapid Infrastructure Automation - update to 1.1.5.3
Netcool Operations Insight - update to 1.6.15
watsonx.data - update to 2.2
Quantum Safe Explorer - update to 2.2.2.1
Cloudera Observability with IBM - update to 3.6.2
JBoss Web Server - addressed in versions 5.8.3, 6.1.0
IBM Watson Discovery for IBM Cloud Pak for Data - update to 5.1.0
IBM Qradar SIEM - update to 7.5.0 Update Pack 11 IF04
IBM Business Automation Manager Open Editions - update to 9.2.0
IBM Power Hardware Management Console (HMC) - addressed in versions 10.2.1040.0 SP3, 10.3.1060.0 SP1
webMethods developer portal - update to 11.1.6
Storage Copy Data Management - update to 2.2.26.0
Telco Unified OSS Console - update to 3.1.15
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 4.8.9
watsonx Assistant Cartridge - update to 5.2.1
watsonx Orchestrate with watsonx Assistant Cartridge - Assistant Builder Component - update to 5.2.1
Telco Service Orchestrator - update to 5.3.1
Talend Administration Center - update to 8.0.1
tomcat10 (Ubuntu package) - addressed in versions 9.0.16-3ubuntu0.18.04.2+esm6, 9.0.31-1ubuntu0.9+esm1, 9.0.58-1ubuntu0.2+esm2, 10.1.16-1ubuntu0.1~esm1
tomcat-webapps - addressed in versions 9.0.36-3.139.1, 9.0.102-150200.78.1
tomcat - addressed in versions 9.0.36-3.139.1, 9.0.102-150200.78.1
tomcat-docs-webapp - addressed in versions 9.0.36-3.139.1, 9.0.102-150200.78.1
tomcat-servlet-4_0-api - addressed in versions 9.0.36-3.139.1, 9.0.102-150200.78.1
tomcat-jsp-2_3-api - addressed in versions 9.0.36-3.139.1, 9.0.102-150200.78.1
tomcat-javadoc - addressed in versions 9.0.36-3.139.1, 9.0.102-150200.78.1
tomcat-admin-webapps - addressed in versions 9.0.36-3.139.1, 9.0.102-150200.78.1
tomcat-lib - addressed in versions 9.0.36-3.139.1, 9.0.102-150200.78.1
tomcat-el-3_0-api - addressed in versions 9.0.36-3.139.1, 9.0.102-150200.78.1
tomcat9 (Ubuntu package) - addressed in versions 9.0.70-2ubuntu0.1+esm1, 9.0.70-2ubuntu1.24.10.1, 9.0.70-2ubuntu1.25.04.1
tomcat-webapps - addressed in versions 9.0.87-1, 9.0.98-2
tomcat-servlet-4.0-api - addressed in versions 9.0.87-1, 9.0.98-2
tomcat-lib - addressed in versions 9.0.87-1, 9.0.98-2
tomcat-jsp-2.3-api - addressed in versions 9.0.87-1, 9.0.98-2
tomcat - addressed in versions 9.0.87-1, 9.0.98-2
tomcat-admin-webapps - addressed in versions 9.0.87-1, 9.0.98-2
tomcat-docs-webapp - addressed in versions 9.0.87-1, 9.0.98-2
tomcat-el-3.0-api - addressed in versions 9.0.87-1, 9.0.98-2
tomcat (Red Hat package) - addressed in versions 9.0.87-1.el8_8.4, 9.0.87-1.el8_10.3, 9.0.87-1.el9_2.3, 9.0.87-1.el9_4.3, 9.0.87-2.el9_5.1
jws5-tomcat (Red Hat package) - addressed in versions 9.0.87-8.redhat_00008.1.el7jws, 9.0.87-8.redhat_00008.1.el8jws, 9.0.87-8.redhat_00008.1.el9jws
tomcat-doc - update to 9.0.98-2
tomcat-embed - update to 9.0.102-150200.78.1
tomcat-jsvc - update to 9.0.102-150200.78.1
Storage Protect Plus Server - update to 10.1.18
tomcat10 (Debian package) - update to 10.1.34-0+deb12u2
tomcat10-webapps - update to 10.1.39-150200.5.36.1
tomcat10-doc - update to 10.1.39-150200.5.36.1
tomcat10 - update to 10.1.39-150200.5.36.1
tomcat10-docs-webapp - update to 10.1.39-150200.5.36.1
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-el-5_0-api - 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
webMethods BPM - addressed in versions 10.15 Fix 14, 11.1 Fix 2
Oracle Solaris - addressed in versions 11.3 ESU 36.34, 11.4 SRU 80
Guardium Data Protection - update to 12.0p40

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins