CVE-2024-53677
published critical CVSS 4.0 · 9.5Apache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.struts:struts2-coreApache Struts · 2.0.0 to < 6.4.0 · Other versions: unaffected | Affected | Not stated | apache |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.5 / 10
- Severity
- critical
- Provider
- apache · cna
- Vector string
- CVSS: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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Struts | 2.0.0 to < 6.4.0 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
2- File upload logic is flawed
- CWE-434 CWE-434 Unrestricted Upload of File with Dangerous Type
References
2Provider assertions
3apache · cna
Apache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checks
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5a3f950e4b900807d1bfe894e44033fb09d7920f2a489a5b894b6a42c59bc6fd
- Ingested
- 04 Nov 2026, 00:37:14 UTC
- Source record
- Official CVE record