CVE-2024-53677
Apache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checks
Exploitation confirmed. First attested on 2024-12-11 by GCVE · previdian, GCVE · shadowserver.
- Published2024-12-11
- Fixed in6.4.0
- WeaknessCWE-434
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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
Timeline
dates in UTCVersions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 6.4 | ≥ 2.0.0, < 6.4.0 | 6.4.0 | NVD |
| 6.4 | < 6.4.0 | 6.4.0 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Apache Software Foundation Apache Strutsother versions: not affected
package org.apache.struts:struts2-corehttps://repo.maven.apache.org/maven2
Affected- ≥ 2.0.0, < 6.4.0fixed in 6.4.0semver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-12-20
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- org.apache.struts:struts2-coreTuxCare:Mavenfrom 2.5.33 · fixed in 2.5.33-tuxcare.1
- org.apache.struts:struts2-coreRed Hat Lightwell:Mavenall versions · fixed in 6.1.1.rhlw-00021
Vendor advisories
- CVE-2024-53677 Red Hat Product Security
struts: org.apache.struts: mixing setters for uploaded files and normal fields can allow bypass file upload checks
Fix
- Update Apache struts to 6.4.0
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2024-12-18
- PoC-in-GitHub18 repositories, unverifiedknown since 2026-11-01cloudwafs/s2-067-CVE-2024-53677TAM-K592/CVE-2024-53677-S2-067yangyanglo/CVE-2024-53677c4oocO/CVE-2024-53677-Dockerdustblessnotdust/CVE-2024-53677-S2-067-thread
- Metasploit modules
- none listed Metasploit Framework
Sources
- GCVEexploitation2024-12-11
- CISA-ADPSSVC decisionpoc2024-12-18
- CNACVSS 4.09.52024-12-20
- NVDCVSS 3.19.8read 2026-11-03
- CISA-ADPweakness (CWE)CWE-4342026-11-04
- FIRST EPSSEPSS score72.4 %read 2026-11-18
- PoC-in-GitHubproof of concept18known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCRITICAL2024-12-11
Identifiers
- EUVD-2024-3418same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-43mq-6xmg-29vmsame flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 4.0 vector
- 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/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
- Published
- 2024-12-11
- Last Modified
- 2026-11-03
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-43mq-6xmg-29vm
Frequently asked questions
What is CVE-2024-53677?
Is CVE-2024-53677 actively exploited?
What is the CVSS score for CVE-2024-53677?
Running struts? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2023-50164same product
- CVE-2025-68493same productApache Struts, Apache Struts: XXE vulnerability in outdated XWork component
- CVE-2023-34396same product
- CVE-2023-34149same product
- CVE-2026-104711same productApache Struts: OGNL injection in the legacy RESTful action mapper
- CVE-2025-64775same product
- CVE-2026-104712same productApache Struts: Disproportionate response size when rendering BigDecimal request parameters
- CVE-2025-66675same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-43mq-6xmg-29vm
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0