Input validation error in Apache Tomcat - CVE-2025-24813
Published: March 10, 2025 / Updated: September 17, 2025
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
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
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
- Exploit #11962 - CVE-2025-24813 (September 17, 2025)
- Exploit #11953 - POC-CVE-2025-24813-Apache-Tomcat-Remote-Code-Execution (Este repositorio contiene un exploit automatizado desarrollado con fines educativos y de investigación en ciberseguridad, dirigido a demostrar una potencial vulnerabilidad de ejecución remota de códi (September 12, 2025)
- Exploit #11940 - Apache-GOExploiter (September 5, 2025)
- Exploit #11863 - CVE-2025-24813 (August 22, 2025)
- Exploit #11842 - CVE-2025-24813 (August 8, 2025)
- Exploit #11746 - cve-2025-24813-poc (July 3, 2025)
- Exploit #11443 - ChromSploit-Framework (May 30, 2025)
- Exploit #11371 - CVE-2025-24813 (May 9, 2025)
- Exploit #11310 - CVE-2025-24813 (April 11, 2025)
- Exploit #11298 - CVE-2025-24813-POC (April 11, 2025)
- Exploit #11273 - Tomcat Partial PUT Java Deserialization (April 2, 2025)
- Exploit #11250 - Tomcat-CVE_2025_24813 (March 25, 2025)
- Exploit #11242 - CVE-2025-24813 (March 25, 2025)
- Exploit #11236 - Apache-Tomcat-Vulnerability-POC-CVE-2025-24813 (March 21, 2025)
- Exploit #11228 - CVE-2025-24813-Exploit (March 18, 2025)
- Exploit #11224 - CVE-2025-24813-Scanner (March 18, 2025)
- Exploit #11223 - CVE-2025-24813 (March 18, 2025)
- Exploit #11222 - CVE-2025-24813-apache-tomcat (March 18, 2025)
- Exploit #11214 - CVE-2025-24813-PoC (March 14, 2025)
- Exploit #11213 - cve-2025-24813_poc (March 14, 2025)
- Exploit #11212 - POC-CVE-2025-24813 (March 14, 2025)
- Exploit #11211 - CVE-2025-24813 (March 14, 2025)
- Exploit #11210 - CVE-2025-24813_POC (March 14, 2025)
External References
- https://tomcat.apache.org/security-11.html#Fixed_in_Apache_Tomcat_11.0.3
- https://tomcat.apache.org/security-10.html
- https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.99
- https://github.com/apache/tomcat/commit/0a668e0c27f2b7ca0cc7c6eea32253b9b5ecb29c
- https://github.com/apache/tomcat/commit/f6c01d6577cf9a1e06792be47e623d36acc3b5dc
- https://github.com/apache/tomcat/commit/eb61aade8f8daccaecabf07d428b877975622f72
- https://lists.apache.org/thread/xl35tnb4979lnk7stnvx9sll1hb68kvf
Related Security Bulletins
- Improper validation of files in Apache Tomcat
- SUSE update for tomcat
- SUSE update for tomcat10
- Red Hat JBoss Web Server 5 update for Apache Tomcat
- SUSE update for tomcat
- Debian update for tomcat10
- Red Hat Enterprise Linux 9 update for tomcat
- Red Hat Enterprise Linux 9 update for tomcat
- Red Hat Enterprise Linux 9 update for tomcat
- Red Hat Enterprise Linux 8 update for tomcat
- Red Hat Enterprise Linux 8 update for tomcat
- IBM Integration Bus update for Apache Tomcat
- IBM Quantum Safe Explorer update for Apache Tomcat
- Oracle Solaris update for third-party components
- Multiple vulnerabilities in Oracle Linux
- Multiple vulnerabilities in Oracle Commerce Guided Search
- Multiple vulnerabilities in Communications Unified Assurance
- Multiple vulnerabilities in Oracle Communications Session Report Manager
- Multiple vulnerabilities in Oracle SD-WAN Edge
- Multiple vulnerabilities in Oracle Communications Policy Management
- Multiple vulnerabilities in Oracle Communications Element Manager
- Anolis OS update for tomcat
- IBM Power Hardware Management Console (HMC) update for Apache Tomcat Server
- Multiple vulnerabilities in IBM QRadar SIEM
- Anolis OS update for tomcat
- IBM Watson Speech Services Cartridge update for Apache Tomcat
- Multiple vulnerabilities in IBM Storage Copy Data Management
- Veritas Desktop Laptop Option update for third-party components
- Multiple vulnerabilities in IBM Guardium Data Protection
- IBM Watson Discovery update for Apache Tomcat
- Ubuntu update for tomcat10
- Ubuntu update for tomcat9
- Multiple vulnerabilities in IBM Rapid Infrastructure Automation
- Input validation error in HPE Telco Service Orchestrator
- Multiple vulnerabilities in HPE Telco Unified OSS Console
- IBM watsonx.data update for Apache Tomcat
- Input validation error in Oracle Hospitality Cruise Shipboard Property Management System
- IBM Business Automation Manager Open Editions update for tomcat-embed-core library
- Qlik Talend Administration Center update for Apache Tomcat
- IBM watsonx Assistant Cartridge and IBM watsonx Orchestrate with watsonx Assistant Cartridge update for Apache Tomcat
- Multiple vulnerabilities in IBM webMethods developer portal
- Multiple vulnerabilities in IBM DevOps Solution Workbench
- Multiple vulnerabilities in Cloudera Observability on Premises with IBM
- Multiple vulnerabilities in Netcool Operations Insight
- Multiple vulnerabilities in Red Hat JBoss Web Server
- Multiple vulnerabilities in Siebel CRM Deployment
- Multiple vulnerabilities in IBM webMethods BPM
- Multiple vulnerabilities in IBM Storage Protect Plus Server
- Multiple vulnerabilities in IBM Cloudera Data Platform Private Cloud Base with IBM (CDP)
- Multiple vulnerabilities in IBM CICS Transaction Gateway for Multiplatforms
- Multiple vulnerabilities in CICS Transaction Gateway Desktop Edition