The REST Plugin in Apache Struts 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13 uses an XStreamHandler with…
CVE-2017-9805Published 15 Sep 2017, 19:00 UTC
Exploited in the wild
CISA added it to the Known Exploited Vulnerabilities list on 3 Nov 2021; US federal agencies must fix it by 3 May 2022.
Real-world risk
8.0/ 10High
Act now: it is being exploited.
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.1
scored by CISA, CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from apache)
The REST Plugin in Apache Struts 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13 uses an XStreamHandler with an instance of XStream for deserialization without any type filtering, which can lead to Remote Code Execution when deserializing XML payloads.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Apache StrutsWidespread | Apache Struts before 2.3.34 and 2.5.x before 2.5.13 | — |
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 | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
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)
- Metasploit module (link)
- Nuclei scanner template (link)
- Reference tagged as exploit (link)
- CISA SSVC: exploitation active
EPSS 99.4% chance of exploitation in 30 days (percentile 100), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.450
- Threat T5: Exploited in the wild1.000
- 10 × impact 1 × prerequisites 0.45 × threat 14.500
- Exploited in the wild: attackers have already met the prerequisites, so they count only by their square root6.708
- Exploited in the wild: at least 88.000
- Rounded to one decimal between 0.1 and 108.0
Exploitation and evidence timeline
- 15 Sep 2017 Published
- 3 Nov 2021 Added to CISA KEV
- 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 CISA SSVC: exploitation active first seen
- 3 Dec 2026 Risk 8.0 (cvss fallback)
Weakness
CWE-502
References
- http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.htmlvendor-advisory, x-transferred
- https://struts.apache.org/docs/s2-052.htmlvendor-advisory, x-transferred
- http://www.securitytracker.com/id/1039263sectrack, vdb-entry, x-transferred
- http://www.securityfocus.com/bid/100609bid, vdb-entry, x-transferred
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2cisco, vendor-advisory, x-transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=1488482vendor-advisory, x-transferred
- https://blogs.apache.org/foundation/entry/apache-struts-statement-on-equifaxvendor-advisory, x-transferred
- https://www.exploit-db.com/exploits/42627/exploit, exploit-db, x-transferred
- https://lgtm.com/blog/apache_struts_CVE-2017-9805misc, x-transferred
- https://cwiki.apache.org/confluence/display/WW/S2-052vendor-advisory, x-transferred
- https://security.netapp.com/advisory/ntap-20170907-0001/vendor-advisory, x-transferred
- https://www.kb.cert.org/vuls/id/112992cert-vn, third-party-advisory, x-transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9805government-resource
- CVE-2017-9805 on CVE.org