{"id":"CVE-2017-9791","url":"https://www.cyber-defence.io/tools/cve/CVE-2017-9791","generatedAt":"2026-10-29T01:41:55.606Z","title":"Apache Struts 1 Improper Input Validation Vulnerability","description":"The Struts 1 plugin in Apache Struts 2.1.x and 2.3.x might allow remote code execution via a malicious field value passed in a raw message to the ActionMessage.","published":"2017-07-10T16:29:00.000Z","lastModified":"2026-06-17T01:28:55.000Z","status":"Analyzed","sourceIdentifier":"security@apache.org","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-20"],"affected":["apache/struts"],"epss":{"score":0.98908,"percentile":0.99927,"date":"2026-10-27","history":[]},"kev":{"listed":true,"dateAdded":"2022-02-10","dueDate":"2022-08-10","knownRansomwareCampaignUse":"Unknown","notes":"Apply updates per vendor instructions.\nhttps://nvd.nist.gov/vuln/detail/CVE-2017-9791"},"exploits":{"count":2,"verified":true,"firstPublished":"2017-07-07","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":44643,"kind":"exploit","title":"Apache Struts 2 - Struts 1 Plugin Showcase OGNL Code Execution (Metasploit)","url":"https://www.exploit-db.com/exploits/44643","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/remote/44643.rb","file":"exploits/multiple/remote/44643.rb","published":"2018-05-17","added":"2018-05-17","updated":"2018-05-17","author":"Metasploit","type":"remote","platform":"multiple","port":8080,"verified":true,"codes":["CVE-2017-9791"],"tags":"Remote","aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://raw.githubusercontent.com/rapid7/metasploit-framework/6ec0272ff5ca38c222d68febab4d154c5f96fd3f/modules/exploits/multi/http/struts2_code_exec_showcase.rb"},{"edbId":42324,"kind":"exploit","title":"Apache Struts 2.3.x Showcase - Remote Code Execution","url":"https://www.exploit-db.com/exploits/42324","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/webapps/42324.py","file":"exploits/multiple/webapps/42324.py","published":"2017-07-07","added":"2017-07-14","updated":"2018-05-17","author":"Vex Woo","type":"webapps","platform":"multiple","port":null,"verified":true,"codes":["CVE-2017-9791","S2-048"],"tags":null,"aliases":"s2-048;Struts-048","applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://github.com/nixawk/labs/blob/943764ccb3b36a419729062f23972fd0d726bd24/CVE-2017-9791/exploit_S2-048.py"}]},"verdict":{"level":"urgent","text":"Known to be exploited in the wild (CISA KEV, CISA remediation deadline 10 August 2022). Treat as an emergency change: patch or isolate now, then hunt for prior compromise."},"changes":[],"references":[{"url":"http://struts.apache.org/docs/s2-048.html","tags":["Mitigation","Vendor Advisory"],"source":"security@apache.org"},{"url":"http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html","tags":["Patch","Third Party Advisory"],"source":"security@apache.org"},{"url":"http://www.securityfocus.com/bid/99484","tags":["Broken Link","Third Party Advisory","VDB Entry"],"source":"security@apache.org"},{"url":"http://www.securitytracker.com/id/1038838","tags":["Broken Link","Third Party Advisory","VDB Entry"],"source":"security@apache.org"},{"url":"https://security.netapp.com/advisory/ntap-20180706-0002/","tags":["Third Party Advisory"],"source":"security@apache.org"},{"url":"https://www.exploit-db.com/exploits/42324/","tags":["Third Party Advisory","VDB Entry"],"source":"security@apache.org"},{"url":"https://www.exploit-db.com/exploits/44643/","tags":["Third Party Advisory","VDB Entry"],"source":"security@apache.org"},{"url":"http://struts.apache.org/docs/s2-048.html","tags":["Mitigation","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/99484","tags":["Broken Link","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id/1038838","tags":["Broken Link","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20180706-0002/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/42324/","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/44643/","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9791","tags":["US Government Resource"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-9791","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}