CVE-2017-9805
CONFIRMED EXPLOITEDApache Struts Deserialization of Untrusted Data Vulnerability
Is Apache Struts affected by CVE-2017-9805?
Apache Struts is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2017-9805, added on 2021-11-03. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (12 vulnerable CPE entries): apache struts, cisco digital_media_manager, cisco hosted_collaboration_solution, cisco media_experience_engine, cisco network_performance_analysis and cisco video_distribution_suite_for_internet_streaming and 1 further CPE product entries.
Published CPE version bounds mark releases below 2.5.13 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2022-05-03.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2016-3081Same productApache Struts
Apache Struts Command Injection Vulnerability
- CVE-2013-2251Same productApache Struts
Apache Struts Improper Input Validation Vulnerability
- CVE-2020-17530Same productApache Struts
Apache Struts Remote Code Execution Vulnerability
- CVE-2018-11776Same productApache Struts
Apache Struts Remote Code Execution Vulnerability
- CVE-2017-9248Neighboring entryProgress ASP.NET AJAX and Sitefinity
Progress Telerik UI for ASP.NET AJAX and Sitefinity Cryptographic Weakness Vulnerability
- CVE-2017-9822Neighboring entryDotNetNuke (DNN) DotNetNuke (DNN)
DotNetNuke (DNN) Remote Code Execution Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
Apache Struts REST Plugin 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.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2021-11-03. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Struts has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- HTTP / web application surface (Apache Struts): inspect reverse-proxy, WAF, and application access/error logs alongside `Zeek http.log` and `Suricata eve.json` for anomalous requests targeting exposed endpoints.
- Deserialization of Untrusted Data (CWE-502): monitor service exception logs for deserialization faults and inspect outbound network connections from the service process for unexpected callbacks.
- Inventory all hosts running Apache Struts and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.htmlPatchThird Party Advisory
- http://www.securityfocus.com/bid/100609Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1039263Broken LinkThird Party AdvisoryVDB Entry
- https://blogs.apache.org/foundation/entry/apache-struts-statement-on-equifaxVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1488482Issue TrackingThird Party AdvisoryVDB Entry
- https://cwiki.apache.org/confluence/display/WW/S2-052MitigationVendor Advisory
- https://lgtm.com/blog/apache_struts_CVE-2017-9805Broken Link
- https://security.netapp.com/advisory/ntap-20170907-0001/Third Party Advisory
- https://struts.apache.org/docs/s2-052.htmlMitigationVendor Advisory
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2Third Party Advisory
- https://www.exploit-db.com/exploits/42627/ExploitThird Party AdvisoryVDB Entry
- https://www.kb.cert.org/vuls/id/112992Third Party AdvisoryUS Government Resource
- http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.htmlPatchThird Party Advisory
- http://www.securityfocus.com/bid/100609Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1039263Broken LinkThird Party AdvisoryVDB Entry
- https://blogs.apache.org/foundation/entry/apache-struts-statement-on-equifaxVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1488482Issue TrackingThird Party AdvisoryVDB Entry
- https://cwiki.apache.org/confluence/display/WW/S2-052MitigationVendor Advisory
- https://lgtm.com/blog/apache_struts_CVE-2017-9805Broken Link
- https://security.netapp.com/advisory/ntap-20170907-0001/Third Party Advisory
- https://struts.apache.org/docs/s2-052.htmlMitigationVendor Advisory
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2Third Party Advisory
- https://www.exploit-db.com/exploits/42627/ExploitThird Party AdvisoryVDB Entry
- https://www.kb.cert.org/vuls/id/112992Third Party AdvisoryUS Government Resource
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9805US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Fast, template-driven vulnerability scanner by ProjectDiscovery
Intercepting web proxy and automated web application security testing tool
Multi-threaded IDS, IPS, and network security monitoring engine
Behavior-based open-source intrusion prevention system (IPS) and log analysis engine