Apache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checks
94Vexday Risk Score
Prioritize patching. It exploitation observed by VulnCheck and has a public proof of concept.
ssvc Actcvss 9.5epss 78%
from disclosure to weapon1 days
Published on NVDDec 11
1st PoC+1d
VulnCheck+4d
exploitation probability
78%top 1% of all CVEs
observed exploitation
yesVulnCheck
30 public exploit(s)
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:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/S:N/AU:Y/R:A/V:C/RE:L/U:Red
Affected products
Apache Software Foundation · Apache Strutspublic PoCs found — 30
githubgithub.com/TAM-K592/CVE-2024-53677-S2-067★ 96githubgithub.com/cloudwafs/s2-067-CVE-2024-53677★ 9githubgithub.com/shishirghimir/CVE-2024-53677-Exploit★ 3githubgithub.com/SeanRickerd/CVE-2024-53677★ 3githubgithub.com/yangyanglo/CVE-2024-53677★ 3githubgithub.com/c4oocO/CVE-2024-53677-Docker★ 3githubgithub.com/dustblessnotdust/CVE-2024-53677-S2-067-thread★ 2githubgithub.com/r007sec/CVE-2024-53677★ 2githubgithub.com/punitdarji/Apache-struts-cve-2024-53677★ 1githubgithub.com/Cythonic1/CVE-2024-53677-POC★ 1githubgithub.com/ctfsec/CVE-2024-53677★ 0githubgithub.com/hiteshpatra/CVE-2024-53677★ 0githubgithub.com/hopsypopsy8/CVE-2024-53677-Exploitation★ 0githubgithub.com/BuludX/CVE-2024-53677★ 0githubgithub.com/seoyoung-kang/CVE-2024-53677★ 0githubgithub.com/sangrok-jeon/CVE-2024-53677-Analysis★ 0vulncheckvulncheck.com/xdb/420179b31365unverifiedvulncheckvulncheck.com/xdb/e3d7a1ada72aunverifiedvulncheckvulncheck.com/xdb/876d199e276eunverifiedvulncheckvulncheck.com/xdb/368a28a635a8unverifiedvulncheckvulncheck.com/xdb/61b55ac60446unverifiedvulncheckvulncheck.com/xdb/d35919daf052unverifiedvulncheckvulncheck.com/xdb/13247b4bfb2funverifiedvulncheckvulncheck.com/xdb/14e5c485502aunverifiedvulncheckvulncheck.com/xdb/008477054916unverifiedvulncheckvulncheck.com/xdb/20ca58012cc0unverifiedvulncheckvulncheck.com/xdb/2af6a2110073unverifiedvulncheckvulncheck.com/xdb/915d7d19b4feunverifiedvulncheckvulncheck.com/xdb/7aa07cfe88d0unverifiedvulncheckvulncheck.com/xdb/567fa5b87fc8unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.