Actively exploited · Published Sep 15, 2017 · Assigned by apache
CVE-2017-9805
High 8.1 Exploited
In plain English
A high-severity unsafe deserialization in Apache Struts from Apache Software Foundation. Attackers are actively exploiting it in the wild (listed by CISA on November 3, 2021). The chance it is exploited in the next 30 days is estimated at 99.4% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
CISA guidance
Apply updates per vendor instructions.
Federal agencies must remediate by May 3, 2022.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.struts:struts2-rest-plugin | 2.3.34 | GHSA-gg9m-fj3v-r58c |
| Maven | org.apache.struts:struts2-rest-plugin | 2.5.13 | GHSA-gg9m-fj3v-r58c |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Struts | Apache Struts before 2.3.34 and 2.5.x before 2.5.13 |
Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html x_refsource_CONFIRM
- https://struts.apache.org/docs/s2-052.html x_refsource_CONFIRM
- 1039263 vdb-entry, x_refsource_SECTRACK
- 100609 vdb-entry, x_refsource_BID
- 20170907 Multiple Vulnerabilities in Apache Struts 2 Affecting Cisco Products: September 2017 vendor-advisory, x_refsource_CISCO
- https://bugzilla.redhat.com/show_bug.cgi?id=1488482 x_refsource_CONFIRM
- https://blogs.apache.org/foundation/entry/apache-struts-statement-on-equifax x_refsource_CONFIRM
- 42627 exploit, x_refsource_EXPLOIT-DB
- https://lgtm.com/blog/apache_struts_CVE-2017-9805 x_refsource_MISC
- https://cwiki.apache.org/confluence/display/WW/S2-052 x_refsource_CONFIRM
- https://security.netapp.com/advisory/ntap-20170907-0001/ x_refsource_CONFIRM
- VU#112992 third-party-advisory, x_refsource_CERT-VN
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9805 government-resource