CVE-2024-53677: Apache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checks
Vulnerability summary
CVE-2024-53677 is a critical (CVSS 9.8) vulnerability in apache software foundation apache struts. EPSS estimates a 84.57% chance of exploitation in the next 30 days, higher than 99.7% of scored vulnerabilities. 1 public exploit is recorded.
Weaponized exploit (Metasploit, 11-12-2024)
Source freshness unavailable
How is this decided?Timeline
- 11-12-2024PublishedVulnerability first disclosed.
- 04-11-2026Last modifiedVulnerability information updated.
Description
File upload logic in Apache Struts is flawed. An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution. This issue affects Apache Struts: from 2.0.0 before 6.4.0. Users are recommended to upgrade to version 6.4.0 at least and migrate to the new file upload mechanism https://struts.apache.org/core-developers/file-upload . If you are not using an old file upload logic based on FileuploadInterceptor your application is safe. You can find more details in https://cwiki.apache.org/confluence/display/WW/S2-067
CVSS metrics
5 scores · 3 sources · 2 versions- OSV · MavenEcosystem advisory · calculated9.5CriticalCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/S:N/AU:Y/R:A/V:C/RE:L/U:Red
- NVDNIST9.5CriticalCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:A/V:C/RE:L/U:Red
- OSV · MavenEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
84.57%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
Increase +12.20 pp
From 72.37% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundApache Struts 2 FileUploadInterceptor Path Traversal RCE (S2-067)
exploit/multi/http/apache_struts2_fileupload_traversal_cve_2024_53677
Maturity: weaponized
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- struts≥ 2.0.0, < 6.4.0
Apache software foundation1 product
- apache struts≥ 2.0.0, < 6.4.0
Org.apache.struts1 product
- struts2-core< 6.4.0
3 vendors · 3 products
References
10 links- security.netapp.com/advisory/ntap-20250103-0005/Third Party Advisory
- github.com/apache/strutsPACKAGE