{"id":"CVE-2024-53677","aliases":["CVE-2024-53677","GHSA-43mq-6xmg-29vm"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checks","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"en","text":"File upload logic is flawed vulnerability in Apache Struts. 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 .","format":"markdown","source":"ghsa"},{"lang":"es","text":"La lógica de carga de archivos es una vulnerabilidad defectuosa en Apache Struts. Este problema afecta a Apache Struts: desde la versión 2.0.0 hasta la 6.4.0. Se recomienda a los usuarios que actualicen a la versión 6.4.0, que soluciona el problema. Puede encontrar más detalles en https://cwiki.apache.org/confluence/display/WW/S2-067","source":"nvd"}],"published":"2024-12-11T15:35:43.389Z","modified":"2026-11-04T00:07:36.407Z","severity":{"scorer":"apache","scheme":"CVSS:4.0","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","score":9.5,"rating":"CRITICAL"},"severities":[{"scorer":"apache","scheme":"CVSS:4.0","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","score":9.5,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","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"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-22","CWE-434","CWE-915"],"affected":[{"ranges":[{"type":"semver","introduced":"2.0.0","fixed":"6.4.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Struts","package":"org.apache.struts:struts2-core","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.4.0"}],"ecosystem":"Maven","package":"org.apache.struts:struts2-core","purl":"pkg:maven/org.apache.struts/struts2-core","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.0.0","fixed":"6.4.0"}],"vendor":"apache","product":"struts","cpe":"cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://cwiki.apache.org/confluence/display/WW/S2-067","tags":["third-party-advisory","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20250103-0005/","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53677","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/struts/commit/1ecfbae46543a83e131404f8dcc84b3d0d554854","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/struts/commit/3ef9ade8902a63bb560892453eeca02bfddefc78","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/struts/commit/930fef7679d7247db9e460c146b1698a9d7ad1e4","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/struts","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20250103-0005","tags":["web"],"sources":["ghsa"]},{"url":"https://struts.apache.org/core-developers/file-upload","tags":["web"],"sources":["ghsa"]},{"url":"https://www.dynatrace.com/news/blog/the-anatomy-of-broken-apache-struts-2-a-technical-deep-dive-into-cve-2024-53677","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-12-18T04:55:36.898Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-53677","url":"https://www.cve.org/CVERecord?id=CVE-2024-53677","licence":"CVE Terms of Use","modified":"2026-11-04T00:07:36.407Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-43mq-6xmg-29vm","url":"https://github.com/advisories/GHSA-43mq-6xmg-29vm","licence":"CC-BY-4.0","modified":"2025-07-15T23:35:35.866Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-53677","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53677","licence":"Public domain","modified":"2026-11-03T22:17:27.083Z"}],"updatedAt":"2026-11-25T22:58:49.949Z","epss":{"score":0.70387,"percentile":0.99397,"date":"2026-12-01T12:00:22.000Z"}}