9.8

CVE-2024-53677: Apache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checks

Analyzed
AliasesGHSA-43mq-6xmg-29vm
Published 11-12-2024Last modified 04-11-2026

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.

Priority
Prioritiseweaponized exploit

Weaponized exploit (Metasploit, 11-12-2024)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
84.57%
0%100%
Critical · +12.20 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1metasploit

Timeline

  1. 11-12-2024
    PublishedVulnerability first disclosed.
  2. 04-11-2026
    Last 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

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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • MetasploitMetasploitremoteVerified

    Apache Struts 2 FileUploadInterceptor Path Traversal RCE (S2-067)

    exploit/multi/http/apache_struts2_fileupload_traversal_cve_2024_53677

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Apache1 product
Apache software foundation1 product
Org.apache.struts1 product
  • struts2-core< 6.4.0

3 vendors · 3 products

References

10 links