The Struts 1 plugin in Apache Struts 2.1.x and 2.3.x might allow remote code execution via a malicious field value…
CVE-2017-9791Published 10 Jul 2017, 16:00 UTC
Exploited in the wild
CISA added it to the Known Exploited Vulnerabilities list on 10 Feb 2022; US federal agencies must fix it by 10 Aug 2022.
Real-world risk
10.0/ 10Critical
Act now: it is being exploited.
PreliminaryFrom the CVSS vector only · confidence low
CVSS
9.8
scored by CISA, CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from apache)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Apache StrutsWidespread | 2.1.x series; 2.3.x series | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T5: Exploited in the wild (× 1.00)
On CISA KEV or VulnCheck KEV, flagged exploited by ENISA's EUVD, CISA's SSVC says active, or the vendor's or CNA's own page says it is exploited
- On CISA’s Known Exploited Vulnerabilities list
- Exploit-DB entry (link)
- Exploit-DB entry (link)
- Metasploit module (link)
- Nuclei scanner template (link)
- Reference tagged as exploit (link)
- Reference tagged as exploit (link)
- CISA SSVC: exploitation active
EPSS 98.8% chance of exploitation in 30 days (percentile 100), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T5: Exploited in the wild1.000
- 10 × impact 1 × prerequisites 1 × threat 110.000
- Rounded to one decimal between 0.1 and 1010.0
Exploitation and evidence timeline
- 10 Jul 2017 Published
- 10 Feb 2022 Added to CISA KEV
- 3 Dec 2026 Exploit-DB entry first seen
- 3 Dec 2026 Exploit-DB entry first seen
- 3 Dec 2026 Metasploit module first seen
- 3 Dec 2026 Nuclei scanner template first seen
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: exploitation active first seen
- 3 Dec 2026 Risk 10.0 (cvss fallback)
Weakness
CWE-20
References
- http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.htmlvendor-advisory, x-transferred
- http://www.securityfocus.com/bid/99484bid, vdb-entry, x-transferred
- https://www.exploit-db.com/exploits/42324/exploit, exploit-db, x-transferred
- http://struts.apache.org/docs/s2-048.htmlvendor-advisory, x-transferred
- http://www.securitytracker.com/id/1038838sectrack, vdb-entry, x-transferred
- https://www.exploit-db.com/exploits/44643/exploit, exploit-db, x-transferred
- https://security.netapp.com/advisory/ntap-20180706-0002/vendor-advisory, x-transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9791government-resource
- CVE-2017-9791 on CVE.org