CVE-2017-9791
Apache Struts 1 Improper Input Validation Vulnerability
- Published
- Jul 10, 2017
- Updated
- Oct 21, 2025
- Assigning CNA
- apache
- Evidence observed
- Jul 7, 2017
Primary CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HHigh · next 30 days
- Percentile
- 99.9%
- Model date
- Nov 7, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
CISA Known Exploited
This CVE appears in the CISA Known Exploited Vulnerabilities catalog.
Summary
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.
Sources
http/cves/2017/CVE-2017-9791.yaml
Nuclei TemplatesDeclared conditions
- network: http($.protocol_keys)
- verification: status,word($.matchers[*].type)
- Vulhub vulnerability labs
Declared conditions
- lab image version: vulhub/struts2:2.3.32-showcase(struts2/s2-048/docker-compose.yml:services.struts2.image)
modules/exploits/multi/http/struts2_code_exec_showcase.rb
Metasploit Framework modulesDeclared conditions
- platform: Linux,Unix,Windows($.exploit_multi/http/struts2_code_exec_showcase.platform)
- verification: check_declared($.exploit_multi/http/struts2_code_exec_showcase.check)
- Struts2-048Exploit
Python-based proof-of-concept exploit for CVE-2017-9791 (Apache Struts2 S2-048) with check and command execution modes for penetration testing.
- CVE-2017-9791Exploit
Metasploit module for Apache Struts CVE-2017-9791 Remote Code Execution Vulnerability
- s2-048Exploit
Apache struts struts 2 048, CVE-2017-9791.
- st2-048Exploit
st2-048
Vex Woo · multiple · Jul 7, 2017
Metasploit · multiple · May 17, 2018
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.