CVE-2024-53677
High PUBLISHEDApache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checks
Not yet in CISA KEV
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
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
- CVE Published
- Dec 11, 2024
- Exploitation Reported
- Dec 11, 2024
- CVSS
- 9.5 Critical
- EPSS
- —
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| Apache Software Foundation |
Apache Struts
|
2.0.0 to < 6.4.0 |
Affected |
CVE References
- Vendor Advisory — cwiki.apache.org cwiki.apache.org · Vendor Advisory https://cwiki.apache.org/confluence/display/WW/S2-067
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| The Shadowserver First | 2024-12-11 15:35 UTC |
No detection artifacts or sensor request patterns are available for this CVE yet.
Check back as sensor telemetry and scanner integrations are updated.
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users via the Pro API.
Learn About Virtual PatchesCVSS Scores
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
Exploitation Status
Exploited in the wild
Recorded 2024-12-11 15:35:43 UTC · The Shadowserver
Proof of concept available
Recorded 2024-12-18 18:42:34 UTC · GitHub
Weaknesses (CWE)
-
Unrestricted Upload of File with Dangerous Type
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2025-01-10 17:47:24 UTC · 3 stars
Vulnerable Environment and Exploit for CVE-2024-53677
github · Created 2025-01-03 02:30:53 UTC · 6 stars
File upload logic flaw in Apache Struts2 exploit
github · Created 2024-12-18 18:42:34 UTC · 2 stars
github · Created 2024-12-18 02:03:56 UTC · 7 stars
A critical vulnerability, CVE-2024-53677, has been identified in the popular Apache Struts framework, potentially allowing attackers to execute arbitrary code remotely. This vulnerability arises from flaws in the file upload logic, which can be exploited to perform path traversal and malicious file uploads.
github · Created 2024-12-17 06:42:16 UTC · 3 stars
A Docker-based environment to reproduce the CVE-2024-53677 vulnerability in Apache Struts 2.
github · Created 2024-12-17 02:22:38 UTC · 2 stars
github · Created 2024-12-13 17:42:55 UTC · 90 stars
A critical vulnerability, CVE-2024-53677, has been identified in the popular Apache Struts framework, potentially allowing attackers to execute arbitrary code remotely. This vulnerability arises from flaws in the file upload logic, which can be exploited to perform path traversal and malicious file uploads.
github · Created 2024-12-12 08:30:14 UTC · 9 stars
s2-067(CVE-2024-53677)
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
18:42 UTC over 1 year ago18:42 UTC · over 1 year ago
Public PoC available
Public proof-of-concept code published
-
15:35 UTC over 1 year ago15:35 UTC · over 1 year ago
CVE published
Vulnerability disclosed publicly
-
15:35 UTC over 1 year ago15:35 UTC · over 1 year ago
Added to KEVIntel KEV Feed
High-confidence, third-party attested exploitation
-
17:02 UTC over 1 year ago17:02 UTC · over 1 year ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2024-53677
{
"cve_id": "CVE-2024-53677",
"title": "Apache Struts: Mixing setters for uploaded files and normal fields can allow ...",
"affected_vendor": "Apache Software Foundation",
"affected_product": "Apache Struts",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "High",
"cvss_score": 9.5,
"epss_score": null,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}