CVE-2017-9791
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.
Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
98.908%
chance of exploitation in the next 30 days
higher than 99.9% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-02-10
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 1
Nuclei templates: 1
Exploit-DB: 2
Weakness
- CWE-20: Improper Input Validation
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Apache Struts 1 Improper Input Validation Vulnerability |
|---|---|
| Vendor / product | Apache / Struts 1 |
| Date added | 2022-02-10 |
| Federal remediation due date | 2022-08-10 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2025-02-06 |
Timeline
- 2017-07-07First Exploit-DB entry (EDB-ID 42324)3 days before publication
- 2017-07-10Published by the CNA16:00 UTC
- 2022-02-10Added to the CISA KEV catalog1676 days after publication
- 2022-05-13GitHub advisory published (GHSA-29rm-6752-gvwv)1768 days after publication
- 2025-02-06CISA SSVC decision recorded2768 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 44643 | remote | multiple | 2018-05-17 | yes |
| EDB-ID 42324 | webapps | multiple | 2017-07-07 | yes |
Nuclei templates:
- CVE-2017-9791: Apache Struts2 S2-053 - Remote Code Execution
GitHub advisory GHSA-29rm-6752-gvwv, affected packages:
| Ecosystem | Package | Vulnerable range | Patched |
|---|---|---|---|
| Maven | org.apache.struts:struts2-struts1-plugin | <= 2.3.37 |
Affected products
| Vendor | Product |
|---|---|
| apache | struts |
References
- http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html
- http://struts.apache.org/docs/s2-048.html
- https://www.exploit-db.com/exploits/42324/
- https://www.exploit-db.com/exploits/44643/
- http://www.securityfocus.com/bid/99484
- http://www.securitytracker.com/id/1038838
- https://security.netapp.com/advisory/ntap-20180706-0002/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9791
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2017-9791'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2017-9791'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2017-9791'curl 'https://api.contrastcyber.com/cve_products/CVE-2017-9791'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2017-9791'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).