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

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.701 (99.4th percentile), scored .

High probability of exploitation in the next 30 days — patch promptly. 99th percentile — 99.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-53677: held from 0.701 to 0.701.

EPSS over last 30 days · oldest: 0.701 · newest: 0.701 · change: 0.000

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?
44 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.