cve.bz

CVE-2024-53677 apache struts

9.5 criticalEPSS 72%Fix available

Critical (9.5) in apache struts. EPSS 72% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.struts:struts2-core 6.4.0.

On this page
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

Severity

CVSS 4.0

9.5 critical
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

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
72% (unchanged from 72% a week ago; 70% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-12-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-434 Unrestricted Upload of File with Dangerous Type
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

  • org.apache.struts:struts2-core (Maven): fixed in 6.4.0

Ask an AI about this CVE

Show the promptExplain CVE-2024-53677 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-53677?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-53677?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-53677 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Strutsfrom 2.0.0 before 6.4.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-43mq-6xmg-29vmMavenorg.apache.struts:struts2-core<6.4.06.4.0

Red Hat

Red Hat rates this Critical.

Red Hat's statement

No Red Hat products are affected by this vulnerability.

ProductPackageStateAdvisory
A-MQ Clients 2org.apache.struts/struts-taglibNot affected
A-MQ Clients 2org.apache.struts/struts-tilesNot affected
A-MQ Clients 2struts-coreNot affected
Red Hat AMQ Broker 7org.apache.struts/struts-taglibNot affected
Red Hat AMQ Broker 7org.apache.struts/struts-tilesNot affected
Red Hat AMQ Broker 7struts-coreNot affected
Red Hat build of Apache Camel for Spring Boot 4org.apache.struts/struts-taglibNot affected
Red Hat build of Apache Camel for Spring Boot 4org.apache.struts/struts-tilesNot affected
Red Hat build of Apache Camel for Spring Boot 4struts-coreNot affected
Red Hat build of Debezium 2org.apache.struts/struts-taglibNot affected
Red Hat build of Debezium 2org.apache.struts/struts-tilesNot affected
Red Hat build of Debezium 2struts-coreNot affected
Red Hat Build of Keycloakorg.apache.struts/struts-taglibNot affected
Red Hat Build of Keycloakorg.apache.struts/struts-tilesNot affected
Red Hat Build of Keycloakstruts-coreNot affected
Red Hat build of OptaPlanner 8org.apache.struts/struts-taglibNot affected
Red Hat build of OptaPlanner 8org.apache.struts/struts-tilesNot affected
Red Hat build of OptaPlanner 8struts-coreNot affected
Red Hat Data Grid 8org.apache.struts/struts-taglibNot affected
Red Hat Data Grid 8org.apache.struts/struts-tilesNot affected
44 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-53677.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • choyj358/cve-2024-53677 Harbor Check: matches CVE 0 stars, Python, created
  • sangrok-jeon/CVE-2024-53677-Analysis Harbor Check: matches CVE 0 stars, Java, created
    CVE-2024-53677 취약점 분석 보고서
  • ctfsec/CVE-2024-53677 0 stars, created
    Proof of concept exploit for CVE-2024-53677 - Apache Struts file upload path traversal vulnerability leading to Remote Code Execution

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Emerging Threats Open ET WEB_SPECIFIC_APPS Apache Struts2 Path Traversal Attempt Inbound M2 (CVE-2024-53677) sid 2058341
  • Emerging Threats Open ET WEB_SPECIFIC_APPS Apache Struts2 Path Traversal Attempt Inbound M1 (CVE-2024-53677) sid 2058337

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON