CVE-2024-53677: Apache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checks
CVE-2024-53677 affects 73 listed versions of Apache Struts in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Apache Struts
73 of 125 listed versions are affected. Fixed in 6.4.0. The newest release, 7.5.1, is not affected.
6.3.0.2 6.3.0.1 6.3.0 6.2.0 6.1.2.2 6.1.2.1 6.1.2 6.1.1 6.1.0 6.0.3 6.0.2 6.0.1 6.0.0 2.5.33 2.5.32 2.5.31 2.5.30 2.5.29 2.5.28.3 2.5.28.2 2.5.28.1 2.5.28 2.5.27 2.5.26 2.5.25 2.5.24 2.5.23 2.5.22 2.3.37 2.3.36 2.3.35 2.3.34 2.3.33 2.3.32 2.3.31 2.3.30 2.3.29 2.3.28.1 2.3.28 2.3.27 2.3.26 2.3.25 2.3.24.3 2.2.3.1 2.2.3 2.2.1.1 2.2.1 2.1.8.1 2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.1 2.0.14 2.0.13 and 13 more
What it is
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by Apache Software Foundation on 11 December 2024. Last changed 3 November 2026. Exploit code is public (Metasploit or Nuclei).
Sources
Check one version you run: look CVE-2024-53677 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.