# CVE-2017-9805

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.

- Page: https://www.vulneraibility.com/cve/CVE-2017-9805
- CVSS: 8.1
- Known exploited: yes, in CISA KEV since 2021-11-03; CISA due date 2022-05-03
- EPSS: 99.40% (percentile 99.9)
- Public exploit code: 1 on Exploit-DB · 1 Metasploit module · 20 GitHub proofs of concept · 1 Nuclei template (first 2017-09-06)
- CISA SSVC: exploitation active, automatable no, technical impact total (assessed 2025-02-06)
- Weakness: CWE-502
- Published: 2017-09-15

## Affected versions

- Apache Software Foundation Apache Struts: affected Apache Struts before 2.3.34 and 2.5.x before 2.5.13

A version outside these ranges is not a statement that it is unaffected.

## References

- [other] http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html
- [other] https://struts.apache.org/docs/s2-052.html
- [other] http://www.securitytracker.com/id/1039263
- [other] http://www.securityfocus.com/bid/100609
- [advisory] https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2
- [other] https://bugzilla.redhat.com/show_bug.cgi?id=1488482
- [other] https://blogs.apache.org/foundation/entry/apache-struts-statement-on-equifax
- [exploit] https://www.exploit-db.com/exploits/42627/
- [other] https://lgtm.com/blog/apache_struts_CVE-2017-9805
- [other] https://cwiki.apache.org/confluence/display/WW/S2-052
- [other] https://security.netapp.com/advisory/ntap-20170907-0001/
- [advisory] https://www.kb.cert.org/vuls/id/112992
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9805

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
