CVE-2024-53677
Apache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checks
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 — 16
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★ 0⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Want to know if your infrastructure is exposed to this?
Talk to TrueHacking →