CVE-2017-9805
Description
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.
Severity
HIGH
CVSS v3
8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
99.396%
chance of exploitation in the next 30 days
higher than 99.9% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2021-11-03
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 1
Nuclei templates: 1
Exploit-DB: 1
Weakness
- CWE-502: Deserialization of Untrusted Data
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Apache Struts Deserialization of Untrusted Data Vulnerability |
|---|---|
| Vendor / product | Apache / Struts |
| Date added | 2021-11-03 |
| Federal remediation due date | 2022-05-03 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2025-02-06 |
Timeline
- 2017-09-06First Exploit-DB entry (EDB-ID 42627)9 days before publication
- 2017-09-15Published by the CNA19:00 UTC
- 2018-10-16GitHub advisory published (GHSA-gg9m-fj3v-r58c)396 days after publication
- 2021-11-03Added to the CISA KEV catalog1510 days after publication
- 2025-02-06CISA SSVC decision recorded2701 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 42627 | remote | linux | 2017-09-06 | no |
Nuclei templates:
- CVE-2017-9805: Apache Struts2 S2-052 - Remote Code Execution
GitHub advisory GHSA-gg9m-fj3v-r58c, affected packages:
| Ecosystem | Package | Vulnerable range | Patched |
|---|---|---|---|
| Maven | org.apache.struts:struts2-rest-plugin | >= 2.1.1, < 2.3.34 | 2.3.34 |
| Maven | org.apache.struts:struts2-rest-plugin | >= 2.5.0, < 2.5.13 | 2.5.13 |
Affected products
| Vendor | Product |
|---|---|
| apache | struts |
| cisco | digital_media_manager |
| cisco | hosted_collaboration_solution |
| cisco | media_experience_engine |
| cisco | network_performance_analysis |
| cisco | video_distribution_suite_for_internet_streaming |
| netapp | oncommand_balance |
References
- http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html
- https://blogs.apache.org/foundation/entry/apache-struts-statement-on-equifax
- https://cwiki.apache.org/confluence/display/WW/S2-052
- https://struts.apache.org/docs/s2-052.html
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2
- https://www.exploit-db.com/exploits/42627/
- http://www.securityfocus.com/bid/100609
- http://www.securitytracker.com/id/1039263
- https://bugzilla.redhat.com/show_bug.cgi?id=1488482
- https://lgtm.com/blog/apache_struts_CVE-2017-9805
- https://security.netapp.com/advisory/ntap-20170907-0001/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9805
- https://www.kb.cert.org/vuls/id/112992
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2017-9805'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2017-9805'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2017-9805'curl 'https://api.contrastcyber.com/cve_products/CVE-2017-9805'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2017-9805'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).