Arbitrary file upload in Apache Struts

CVE-2024-53677

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

Vulnerability class: Unrestricted File Upload

EPSS: 0.782 (99.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-53677?
CVE-2024-53677 is a critical-severity vulnerability in Apache Struts, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 9.8/10. Published 2024-12-11.
How severe is CVE-2024-53677?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2024-53677 known to be exploited?
43 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.