CVE-2024-53677

Severity CVSS v4.0:
CRITICAL
Type:
CWE-434 Unrestricted Upload of File with Dangerous Type
Publication date:
11/12/2024
Last modified:
15/07/2025

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.<br /> <br /> This issue affects Apache Struts: from 2.0.0 before 6.4.0.<br /> <br /> 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.<br /> <br /> You can find more details in  https://cwiki.apache.org/confluence/display/WW/S2-067

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:* 2.0.0 (including) 6.4.0 (excluding)