CVE-2025-24813
tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUT
Overview
Description
Path Equivalence: 'file.Name' (Internal Dot) leading to Remote Code Execution and/or Information disclosure and/or malicious content added to uploaded files via write enabled Default Servlet in Apache Tomcat.
This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.2, from 10.1.0-M1 through 10.1.34, from 9.0.0.M1 through 9.0.98. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected.
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 was 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
Users are recommended to upgrade to version 11.0.3, 10.1.35 or 9.0.99, which fixes the issue.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-44, CWE-502, CWE-706
Affected packages · 5
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | tomcat | <9.0.99>=10.0.0, <10.1.35>=11.0.0, <11.0.3 | 9.0.9910.1.3511.0.3 |
| Maven | org.apache.tomcat:tomcat-catalina | >=11.0.0-M1, <11.0.3>=10.1.0-M1, <10.1.35>=9.0.0.M1, <9.0.99>=8.5.0, <=8.5.100 | 11.0.310.1.359.0.99 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >=11.0.0-M1, <11.0.3>=10.1.0-M1, <10.1.35>=9.0.0.M1, <9.0.99>=8.5.0, <=8.5.100 | 11.0.310.1.359.0.99 |
| Seal Maven | org.apache.tomcat.embed:tomcat-embed-core | >=10.1.10+sp0, <10.1.10+sp2>=10.1.5+sp0, <10.1.5+sp2>=9.0.46+sp0, <9.0.46+sp2>=9.0.58+sp0, <9.0.58+sp2>=9.0.68+sp0, <9.0.68+sp2+2 more | 10.1.10+sp210.1.5+sp29.0.46+sp29.0.58+sp29.0.68+sp2 |
| Seal Maven | seal.sp1.org.apache.tomcat.embed:tomcat-embed-core | >=10.1.10, <10.1.10+sp999>=10.1.5, <10.1.5+sp999>=9.0.46, <9.0.46+sp999>=9.0.58, <9.0.58+sp999>=9.0.68, <9.0.68+sp999+2 more | 10.1.10+sp99910.1.5+sp9999.0.46+sp9999.0.58+sp9999.0.68+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 52 fixes
Oracle Linux 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | tomcat +7 | 1:9.0.87-1.el8_10.3 |
| 9 | tomcat +7 | 1:9.0.87-2.el9_5.1 |
Photon OS 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | apache-tomcat9 +1 | 9.0.98-2.ph4 |
| 5.0 | apache-tomcat10 +1 | 10.1.34-3.ph5 |
| 5.0 | apache-tomcat9 +1 | 9.0.98-2.ph5 |
Red Hat 3 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | tomcat | affected | — |
| 7 | jws5-tomcat +11 | 0:9.0.87-8.redhat_00008.1.el7jws | RHSA-2025:3454 |
| 8 | jws6-tomcat-jakartaee-migration | 0:1.0.6-2.redhat_00003.1.el8jws | RHSA-2025:3608 |
| 8 | jws6-tomcat-native | 0:1.3.1-1.redhat_1.el8jws | RHSA-2025:3608 |
| 8 | jws6-tomcat +9 | 0:10.1.36-6.redhat_00007.1.el8jws | RHSA-2025:3608 |
| 8 | jws5-tomcat +9 | 0:9.0.87-8.redhat_00008.1.el8jws | RHSA-2025:3454 |
9 more rows
SUSE Linux Enterprise 4 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | tomcat +8 | 9.0.36-3.139.1 | SUSE-SU-2025:0954-1 |
| 15.4 | tomcat +6 | 9.0.102-150200.78.1 | SUSE-SU-2025:1126-1 |
| 15.5 | tomcat10 +6 | 10.1.39-150200.5.36.1 | SUSE-SU-2025:1024-1 |
| 15.5 | tomcat +6 | 9.0.102-150200.78.1 | SUSE-SU-2025:1126-1 |
| 15.6 | tomcat10 +6 | 10.1.39-150200.5.36.1 | SUSE-SU-2025:1024-1 |
| 15.6 | tomcat +6 | 9.0.102-150200.78.1 | SUSE-SU-2025:1126-1 |
alma 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | tomcat +7 | 1:9.0.87-1.el8_10.3 |
| 9 | tomcat +7 | 1:9.0.87-2.el9_5.1 |
amazon linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | tomcat10 +7 | 1:10.1.39-1.amzn2023.0.1 |
| 2023 | tomcat9 +7 | 1:9.0.102-1.amzn2023.0.1 |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| thingsboard | 3.9.1-r2 |
debian 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | tomcat9 | 9.0.43-2~deb11u12 |
| 12 | tomcat10 | 10.1.34-0+deb12u2 |
| 12 | tomcat9 | 9.0.70-2 |
| 13 | tomcat10 | 10.1.35-1 |
| 13 | tomcat9 | 9.0.70-2 |
| 14 | tomcat10 | 10.1.35-1 |
1 more row
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| tomcat10 | 10.1.34-0+deb12u2 | |
| tomcat9 | 9.0.70-2 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | tomcat10 +10 | 10.1.35-1.1 | openSUSE-SU-2025:14897-1 |
| Tumbleweed | tomcat +10 | 9.0.99-1.1 | openSUSE-SU-2025:14896-1 |
rocky 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | tomcat +7 | 1:10.1.36-1.el10_0 |
| 10 | tomcat9 +7 | 1:9.0.87-5.el10_0 |
| 8 | tomcat +7 | 1:9.0.87-1.el8_10.3 |
| 9 | tomcat +7 | 1:9.0.87-2.el9_5.1 |
ubuntu 5 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | tomcat9 | 9.0.16-3ubuntu0.18.04.2+esm6 |
| 20.04-ESM | tomcat9 | 9.0.31-1ubuntu0.9+esm1 |
| 22.04 | tomcat9 | affected |
| 24.04 | tomcat10 +1 | affected |
| 26.04 | tomcat9 | 9.0.70-2ubuntu2 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| thingsboard | 3.9.1-r2 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/03/10/5
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:3645
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:3683
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-24813
- bugzilla.redhat.com https://bugzilla.redhat.com/2332817
- bugzilla.redhat.com https://bugzilla.redhat.com/2351129
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2332817
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2351129
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-50379
Show all 34 references
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-24813
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2025-3645.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2025:3683
- github.com https://github.com/absholi7ly/POC-CVE-2025-24813/blob/main/README.md
- github.com https://github.com/apache/tomcat
- github.com https://github.com/apache/tomcat/commit/0a668e0c27f2b7ca0cc7c6eea32253b9b5ecb29c
- github.com https://github.com/apache/tomcat/commit/eb61aade8f8daccaecabf07d428b877975622f72
- github.com https://github.com/apache/tomcat/commit/f6c01d6577cf9a1e06792be47e623d36acc3b5dc
- linux.oracle.com https://linux.oracle.com/cve/CVE-2025-24813.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2025-7497.html
- lists.apache.org https://lists.apache.org/thread/j5fkjv2k477os90nczf2v9l61fb0kkgq
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/04/msg00003.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-24813
- security.netapp.com https://security.netapp.com/advisory/ntap-20250321-0001
- security.netapp.com https://security.netapp.com/advisory/ntap-20250321-0001/
- ubuntu.com https://ubuntu.com/security/notices/USN-7525-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7525-2
- www.cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- www.cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24813
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-24813
- www.vicarius.io https://www.vicarius.io/vsociety/posts/cve-2025-24813-detect-apache-tomcat-rce
- www.vicarius.io https://www.vicarius.io/vsociety/posts/cve-2025-24813-mitigate-apache-tomcat-rce
- www.vicarius.io https://www.vicarius.io/vsociety/posts/cve-2025-24813-tomcat-detect-vulnerability
- www.vicarius.io https://www.vicarius.io/vsociety/posts/cve-2025-24813-tomcat-mitigation-vulnerability
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.