{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-53677","id":"CVE-2024-53677","title":"Apache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checks","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.\n\nThis issue affects Apache Struts: from 2.0.0 before 6.4.0.\n\nUsers are recommended to upgrade to version 6.4.0 at least and migrate to the new  file upload m","descriptionLong":"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.\n\nThis issue affects Apache Struts: from 2.0.0 before 6.4.0.\n\nUsers 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.\n\nYou can find more details in  https://cwiki.apache.org/confluence/display/WW/S2-067","published":"2024-12-11T15:35:43.389Z","updated":"2026-11-05T02:30:52.542101878Z","reserved":"2024-11-21T17:02:02.847Z","status":"Analyzed","rejected":false,"assigner":"apache","metric":{"version":"4.0","score":9.5,"vector":"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","rating":"critical","source":"apache"},"metrics":[{"version":"4.0","score":9.5,"vector":"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","rating":"critical","source":"apache"},{"version":"4.0","score":9.5,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:A/V:C/RE:L/U:Red","rating":"critical","source":"apache.org"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"critical","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["Apache Software Foundation Apache Struts"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Struts","defaultStatus":"unaffected","versions":[{"lessThan":"6.4.0","status":"affected","version":"2.0.0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.struts:struts2-core","purl":"pkg:maven/org.apache.struts/struts2-core","ranges":["<6.4.0"],"fixed":["6.4.0"],"advisory":"GHSA-43mq-6xmg-29vm"}],"cwes":["CWE-434","CWE-22","CWE-915"],"aliases":["GHSA-43mq-6xmg-29vm"],"references":[{"url":"https://cwiki.apache.org/confluence/display/WW/S2-067","tags":["vendor-advisory","Third Party Advisory","advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20250103-0005/","tags":["Third Party Advisory","advisory"]},{"url":"https://repo.maven.apache.org/maven2","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53677.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53677","tags":["advisory"]},{"url":"https://github.com/apache/struts/commit/1ecfbae46543a83e131404f8dcc84b3d0d554854","tags":["web"]},{"url":"https://github.com/apache/struts/commit/3ef9ade8902a63bb560892453eeca02bfddefc78","tags":["web"]},{"url":"https://github.com/apache/struts/commit/930fef7679d7247db9e460c146b1698a9d7ad1e4","tags":["web"]},{"url":"https://github.com/apache/struts","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20250103-0005","tags":["web"]},{"url":"https://struts.apache.org/core-developers/file-upload","tags":["web"]},{"url":"https://www.dynatrace.com/news/blog/the-anatomy-of-broken-apache-struts-2-a-technical-deep-dive-into-cve-2024-53677","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.72367,"epssPercentile":0.99449,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-53677","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53677","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-53677","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-43mq-6xmg-29vm","ok":true,"note":"GHSA-43mq-6xmg-29vm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-53677","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["struts"],"critical":["CVSS 9.5 in a widely used technology","EPSS 72% with CVSS 9.5"],"attention":null}