A critical security vulnerability in Apache Tomcat (CVE-2025-24813) has exposed servers to remote code execution (RCE), information disclosure, and data corruption risks.
The flaw, rooted in improper handling of partial HTTP PUT requests, affects Tomcat versions 11.0.0-M1 to 11.0.2, 10.1.0-M1 to 10.1.34, and 9.0.0.M1 to 9.0.98.
The Apache Software Foundation has issued patches (Tomcat 11.0.3, 10.1.35, and 9.0.98) and urged immediate upgrades to mitigate exploitation risks.
The vulnerability stems from Tomcat’s implementation of partial PUT requests, which allow clients to upload files in segments.
The original code (patched in commit 0a668e0c) generated temporary filenames by replacing path separators (e.g., /) with internal dots (.), creating path equivalence vulnerabilities. Attackers could exploit this to:
For RCE, attackers require:
The flaw’s severity lies in its potential for privilege escalation and lateral movement. For instance:
Data Corruption: Attackers could tamper with session files (SESSIONS.ser) stored in $CATALINA_BASE/work, altering user sessions.
RCE via JSP Uploads: Uploading a malicious JSP to the web root (e.g., webapps/ROOT) allows execution of arbitrary code.
Information Leakage: Partial PUT requests could reveal directory structures or configuration files like server.xml.
Notably, this vulnerability compounds prior issues like CVE-2024-56337 (incomplete mitigation for CVE-2024-50379), highlighting systemic risks in Tomcat’s file-handling logic.
Administrators must:
For Java environments, additional measures include:
Security researchers emphasize the urgency of patching.
Mark Thomas of the Apache Tomcat Security Team noted, “This vulnerability underscores the risks of combining write-enabled servlets with case-insensitive filesystems.”
With exploits likely to emerge soon, delaying patches risks catastrophic breaches. As Apache’s advisory warns, “The partial PUT feature’s default-enabled status amplifies exposure.”
Organizations must prioritize upgrades, audit configurations, and adopt defense-in-depth strategies to safeguard Java web ecosystems.
Collect Threat Intelligence on the Latest Malware and Phishing Attacks with ANY.RUN TI Lookup -> Try for free
CDR is the runtime, real-time half of cloud security: while CSPM tells you what’s misconfigured,…
Your SaaS estate M365, Salesforce, Workday, Slack, hundreds of others is a sprawl of misconfigurations,…
DSPM finds sensitive data you didn’t know you had, classifies it, maps who can reach…
Open-source packages are meant to save developers time. In the GemStuffer campaign, that trust became…
Google has released an important Chrome 153 security update that fixes 42 vulnerabilities across the…
The Cybersecurity and Infrastructure Security Agency (CISA) and the National Institute of Standards and Technology…