CVE-2017-9791 — Apache Struts 1 Improper Input Validation Vulnerability
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.
Who exploits it and how urgent it is
A 0–100 score combining confirmed exploitation, ransomware and APT use, public exploits, EPSS and severity.
How the score was calculated
- Confirmed exploitation (CISA KEV)+35
- Public exploit/PoC (nuclei, metasploit, exploitdb)+20
- EPSS 98.9% (30-day exploitation probability)+15
- Technical severity (critical)+10
- Automatable exploitation (SSVC)+3
The score orders the patch queue; it does not replace your asset context (internet exposure, criticality, compensating controls).
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the sources call it.
CISA SSVC assessment CISA
Three decision points CISA publishes for the CVEs it assesses (SSVC 2.0.3). A stakeholder decision, not a severity score.
Remediation
Fixes and mitigations documented by the sources — linked to the original advisory.
- Documented mitigation — struts.apache.org (NIST National Vulnerability Database)
- Documented patch — www.oracle.com (NIST National Vulnerability Database)
CISA required action CISA
Apply updates per vendor instructions.
US federal deadline: Aug 10, 2022 — passed 1527 day(s) ago
First 24 hours
Ordered from the record’s own fields — exposure first, because you cannot patch what you have not found. A rule-generated starting point.
- Identify exposed assets running the affected vendor/product/version combinations (Apache Software Foundation Struts, Maven Org.apache.struts:struts2-struts1-plugin).
- Treat as emergency remediation: the CVE is in CISA KEV (confirmed exploitation).
- The attack is network-based and needs no privileges: restrict exposure (ACLs, VPN, WAF) until patched.
- Apply the fixed version or the patch documented under Remediation.
- EPSS ahead of 100% of scored CVEs: prioritize it in the patch queue.
- Search available logs for exploit probes matching the vulnerability class (input validation), errors and authentication anomalies.
Affected scope
Vendor, product and versions as the sources word them.
| Vendor | Product | Versions | Status | Source |
|---|---|---|---|---|
| Apache Software Foundation | Struts |
version 2.3.24version 2.3.15.3version 2.3.16version 2.3.16.1version 2.3.16.2version 2.3.16.3version 2.3.20version 2.3.20.1 and 25 moreversion 2.3.20.3version 2.3.24.1version 2.3.24.3version 2.3.28version 2.3.28.1version 2.3.29version 2.3.30version 2.3.31version 2.3.32version 2.3.15.1version 2.3.1version 2.3.1.1version 2.3.1.2version 2.3.3version 2.3.4version 2.3.4.1version 2.3.7version 2.3.8version 2.3.12version 2.3.14version 2.3.14.1version 2.3.14.2version 2.3.14.3version 2.3.15version 2.3.15.2 |
Vulnerable | NIST National Vulnerability Database |
| Apache Software Foundation | Struts | version 2.3.x seriesversion 2.1.x series | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Maven | Org.apache.struts:struts2-struts1-plugin | ≤ 2.3.37 | Vulnerable | GitHub Security Advisories |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Every base score collected
Sources score independently and may disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Scored by |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | Critical | 3.9 | 5.9 | nvd@nist.gov via NIST National Vulnerability Database |
| 9.8 | CVSS 3.1 | Critical | 3.9 | 5.9 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 via NIST National Vulnerability Database |
| 9.8 | CVSS 3.1 | Critical | — | — | GitHub, Inc. via GitHub Security Advisories |
| 9.8 | CVSS 3.1 | Critical | — | — | CISA-ADP via CVE Program (cve.org) e CISA ADP |
| 7.5 | CVSS 2.0 | High | 10.0 | 6.4 | nvd@nist.gov via NIST National Vulnerability Database |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (score shown at the top: nvd@nist.gov) Weakness MITRE
Weakness class according to MITRE’s CWE catalog.
CISA KEV details CISA
CISA lists a CVE once it has evidence of exploitation against real targets.
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a reference date.
Public exploits, PoCs and detection templates
Public code that demonstrates or tests the flaw raises the odds of mass exploitation — and Nuclei templates help find vulnerable assets in your environment.
- Apache Struts 2 Struts 1 Plugin Showcase OGNL Code Execution excellent Jul 7, 2017
- Apache Struts 2.3.x Showcase - Remote Code Execution verified Jul 7, 2017
- Apache Struts 2 - Struts 1 Plugin Showcase OGNL Code Execution (Metasploit) verified May 17, 2018
Warning: public PoCs are sometimes disguised malware. Use them only for authorized testing in an isolated environment. This portal does not host exploit code — it only points to the sources.
EPSS over time FIRST
Oct 13, 2026 → Oct 14, 2026 · 2 reading(s) · max 98.91%
Detection
Read off the CVSS vector and the weakness class. Starting points, not tested rules.
- Prioritize edge telemetry for the network-reachable component (proxy, WAF, IDS/IPS).
- Hunt retroactively in logs from before Feb 10, 2022 (KEV listing): exploitation may have started earlier.
Timeline
What happened to this CVE, newest first.
- 2026
- Affected products added · maven/org.apache.struts:struts2-struts1-plugin
- Fix documented
- Affected products added · apache/struts
- Source status changed · Published → Analyzed
- Record published
- Affected products added · apache software foundation/apache struts
- CVSS changed · 9.8
- Source status changed · → Published
- SSVC assessment updated
- Added to CISA KEV (detected)
- Record created in this database
- 2022
- Added to CISA KEV catalog
- 2017
- CVE published
Source activity
Repeated readings are counted rather than listed.
- 3× References added · Oct 13, 2026 – Oct 13, 2026
- 1× Official description updated · Oct 13, 2026 – Oct 13, 2026
References
14 on the record
- struts.apache.org/docs/s2-048.html
- www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html
- www.cisa.gov/known-exploited-vulnerabilities-catalog
- github.com/advisories/GHSA-29rm-6752-gvwv
- www.exploit-db.com/exploits/44643/
- github.com/apache/struts/commit/ffe0e20edd9d5386f4410fddd970286a69373243
- www.exploit-db.com/exploits/44643
- security.netapp.com/advisory/ntap-20180706-0002/
- www.securitytracker.com/id/1038838
- www.securityfocus.com/bid/99484
- security.netapp.com/advisory/ntap-20180706-0002
- www.exploit-db.com/exploits/42324/
- www.exploit-db.com/exploits/42324
- nvd.nist.gov/vuln/detail/CVE-2017-9791
Elsewhere on this site
Related CVEs (same products)
- High CVE-2026-104714 Apache Struts: Shared message formatter exposes date and time values across concurrent requests 10d
- Critical CVE-2026-104711 Apache Struts: OGNL injection in the legacy RESTful action mapper 10d
- High CVE-2026-104712 Apache Struts: Disproportionate response size when rendering BigDecimal request parameters 10d
- Medium CVE-2026-104713 Apache Struts: Unbounded request body read in the REST plugin 10d
- Medium CVE-2026-73632 Exposure of data element to wrong session vulnerability in the JSON plugin of Apache… Aug 15, 2026
- High CVE-2026-73634 Uncontrolled Resource Consumption in Apache Software Foundation Struts Aug 15, 2026
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record
Text assembled only from the fields above — no additional claims.
What should defenders know first?
CVE-2017-9791 is "Apache Struts 1 Improper Input Validation Vulnerability", rated Critical. It affects Struts (Apache Software Foundation); versions are in the scope table. It is in CISA KEV: there is evidence of real-world exploitation. CVSS 9.8 describes technical severity. EPSS 98.91% estimates the probability of exploitation in 30 days; neither replaces your asset context. First verify whether exposed or business-critical assets run the affected versions, apply vendor fixes or mitigations, and preserve logs for review.
Comments
Moderated technical discussion. Read the community guidelines.
No comments yet.
Sign in or create an account to comment and suggest corrections.