CVE-2017-9791
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.
Published Updated Sources: NVD, Apache Software Foundation (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, Exploit-DB, Red Hat (VEX), SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Feb 10, 2022
EPSS
99%
top of FIRST's scoreset
CVSS base
9.8
critical · 4 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade Apache Struts to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
CISA required action
Apply updates per vendor instructions.
Federal deadline Aug 10, 2022 — passed 1,577 days ago
Red Hat VEX · CVE-2017-9791
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apache | Apache Struts | 2.1.x series | Vulnerable |
| Apache | Apache Struts | 2.3.x series | Vulnerable |
| Maven | org.apache.struts:struts2-struts1-plugin | <= 2.3.37 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | critical | 3.9 | 5.9 | NVD, CNA |
| 7.5 | CVSS 2.0 | high | 10 | 6.4 | NVD |
| 9.8 | CVSS 3.1 | critical | n/a | n/a | GHSA |
| 8.1 | CVSS 3.1 | high | n/a | n/a | Red Hat (VEX) |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-20 · Improper Input Validation
- DoS: Crash, Exit, or Restart
- DoS: Resource Consumption (CPU)
- DoS: Resource Consumption (Memory)
- Read Memory
Mitigation: Consider using language-theoretic security (LangSec) techniques that characterize inputs using a formal language and build recognizers for that language. This effectively requires parsing to be a distinct layer that effectively enforces a boundary between raw input and internal data representations, instead of allowing parser code to be scattered throughout the program, where it could be subject to errors or inconsistencies that create weaknesses. [REF-1109] [REF-1110] [REF-1111]
Weakness & attack patterns
- CWE-20Improper Input Validation
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1562.003Impair Defenses: Impair Command History Logging
- T1574.006Hijack Execution Flow: Dynamic Linker Hijacking
- T1574.007Hijack Execution Flow: Path Interception by PATH Environment Variable
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Feb 10, 2022
Federal deadline
Aug 10, 2022
passed 1,577 days ago
Ransomware use
Unknown
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 date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
62
1 of the 5 sampled are weaponized
Exploit entries
15
Exploit-DB and CTI exploit indexes
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Apache Struts, Org.apache.struts:struts2-struts1-plugin.
- Monitor for scanner or exploit-pattern traffic after 77 public PoC repositories were reported.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 9.8 (AV:N)
Jun 17, 2026 · NVD
- 2025
Bulletin released on Mitre.
Jul 28, 2025 · SOCRadar CTI
Bulletin released on NIST.
Jan 23, 2025 · SOCRadar CTI
- 2023
CVE is exploited. "Ostorlab/KEV"
Dec 26, 2023 · SOCRadar CTI
CVE is exploited. "20142995/pocsuite3"
Dec 16, 2023 · SOCRadar CTI
CVE is exploited. "ARPSyndicate/cvemon"
Dec 14, 2023 · SOCRadar CTI
CVE is exploited. "CrackerCat/myhktools"
Dec 14, 2023 · SOCRadar CTI
CVE is exploited. "HimmelAward/Goby_POC"
Dec 14, 2023 · SOCRadar CTI
CVE is exploited. "Ostorlab/known_exploited_vulnerbilities_detectors"
Dec 14, 2023 · SOCRadar CTI
CVE is exploited. "do0dl3/myhktools"
Dec 14, 2023 · SOCRadar CTI
CVE is exploited. "iqrok/myhktools"
Dec 14, 2023 · SOCRadar CTI
CVE is exploited. "qazbnm456/awesome-cve-poc"
Dec 14, 2023 · SOCRadar CTI
CVE is exploited. "xbl3/awesome-cve-poc_qazbnm456"
Dec 14, 2023 · SOCRadar CTI
- 2022
Added · GHSA-29rm-6752-gvwv published (critical)
May 13, 2022 · GitHub Security Advisory
Added to CISA KEV catalog
Feb 10, 2022 · CISA
CVE is exploited. "Apache Struts 1 Improper Input Validation Vulnerability"
Feb 10, 2022 · SOCRadar CTI
- 2018
Added · Verified remote entry: Apache Struts 2.3.x - Struts 1 Plugin Showcase OGNL Code Execution (Metasploit)
May 17, 2018 · Exploit-DB
Added · Verified remote entry: Apache Struts 2.3.x - Struts 1 Plugin Showcase OGNL Code Execution (Metasploit)
May 17, 2018 · Exploit-DB
- 2017
Initial · CVE published
Jul 10, 2017 · NVD
Added · Verified webapps entry: Apache Struts 2.3.x Showcase - Remote Code Execution (RCE)
Jul 7, 2017 · Exploit-DB
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 13×Github ReposJan 6, 2022 – Jan 27, 2024 · SOCRadar CTI
- 2×CVE modified by NIST: CVSS v2 metrics updated.Jan 23, 2025 – Feb 6, 2025 · SOCRadar CTI
- 1×Tweets · 1 times tweetedMay 12, 2023 · SOCRadar CTI
References
15 on the record
- struts.apache.org/docs/s2-048.html
Mitigation, Vendor Advisory, NIST, MITRE_REFERENCES
- www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html
Patch, Third Party Advisory, NIST, MITRE_REFERENCES
- www.securityfocus.com/bid/99484
Broken Link, Third Party Advisory, VDB Entry, NIST, Mitre
- www.securitytracker.com/id/1038838
Broken Link, Third Party Advisory, VDB Entry, NIST, Mitre
- security.netapp.com/advisory/ntap-20180706-0002/
Third Party Advisory, Vendor Advisory, NIST, MITRE_REFERENCES
- www.exploit-db.com/exploits/42324/
Third Party Advisory, VDB Entry, Vendor Advisory, GITHUB, Mitre, NIST
- www.exploit-db.com/exploits/44643/
Third Party Advisory, VDB Entry, Vendor Advisory, GITHUB, Mitre, NIST
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9791
US Government Resource
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2017-5638 Apache Struts Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2018-11776 Apache Struts Remote Code Execution VulnerabilityCVSS 8.1 · CISA KEV
- CVE-2017-9805 Apache Struts Deserialization of Untrusted Data VulnerabilityCVSS 8.1 · CISA KEV
- CVE-2019-0230 Apache Struts 2.0.0 to 2.5.20 forced double OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code…CVSS 9.8
- CVE-2026-93952 Security Advisory 0183CVSS 10.0 · CISA KEV
- CVE-2026-34910 Ubiquiti UniFi OS Improper Input Validation VulnerabilityCVSS 10.0 · CISA KEV
Elsewhere on this site
- Apacheevery CVE for this vendor
- Mavenevery CVE for this vendor
- Apache Strutsevery page on this product
- February 2022what else CISA listed
- Input Validationsame class
- CWE-20other pages naming this weakness
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 record1
What should defenders know first?
CVE-2017-9791 is Apache Struts 1 Improper Input Validation Vulnerability, a critical vulnerability affecting Apache Struts, Org.apache.struts:struts2-struts1-plugin from Apache Software Foundation, Maven. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 77 public PoC repositories reported; 1 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 99% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.