Known exploited vulnerability
CVE-2017-9805
The short answer
CVE-2017-9805 affects Apache Software Foundation Apache Struts and is rated high (CVSS 8.1). CISA added it to the Known Exploited Vulnerabilities catalog on 2021-11-03: attackers are using it, so patch it first. Fixed versions are published for struts2-rest-plugin (2.3.34, 2.5.13).
What it is
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.
Weakness: CWE-502.
Severity
8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploited (CISA KEV)
Yes, since Nov 3, 2021
Federal due date May 3, 2022
EPSS, next 30 days
99%
Higher than 100% of scored CVEs
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
What CISA says to do
Apply updates per vendor instructions.
Affected packages and fixed versions
| Package | Ecosystem | Fixed in | Advisory |
|---|---|---|---|
| org.apache.struts:struts2-rest-plugin | Maven | 2.3.34, 2.5.13 | GHSA-gg9m-fj3v-r58c |
Is it in your code? Drop your lockfile into the free vulnerability check, or let vulnerability watch check your repository every day and open the upgrade as a pull request.
Affected products
Apache Struts. NVD's record lists the exact affected versions.
References
- blogs.apache.org/foundation/entry/apache-struts-statement-on-equifax Vendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=1488482 Issue TrackingThird Party AdvisoryVDB Entry
- cwiki.apache.org/confluence/display/WW/S2-052 MitigationVendor Advisory
- lgtm.com/blog/apache_struts_CVE-2017-9805 Broken Link
- security.netapp.com/advisory/ntap-20170907-0001/ Third Party Advisory
- struts.apache.org/docs/s2-052.html MitigationVendor Advisory
- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2 Third Party Advisory
- www.exploit-db.com/exploits/42627/ ExploitThird Party AdvisoryVDB Entry
- www.kb.cert.org/vuls/id/112992 Third Party AdvisoryUS Government Resource
- blogs.apache.org/foundation/entry/apache-struts-statement-on-equifax Vendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=1488482 Issue TrackingThird Party AdvisoryVDB Entry
- cwiki.apache.org/confluence/display/WW/S2-052 MitigationVendor Advisory
Questions
Is CVE-2017-9805 being exploited?
Yes. CISA added CVE-2017-9805 to its Known Exploited Vulnerabilities catalog on 2021-11-03, with a federal remediation due date of 2022-05-03.
How do I fix CVE-2017-9805?
Upgrade to a fixed version: org.apache.struts:struts2-rest-plugin (Maven) 2.3.34 or 2.5.13. CISA's required action: Apply updates per vendor instructions.
From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.
Related
Latest CVEs this week
Critical and High CVEs from the last 7 days, with KEV and EPSS.
Exploited vulnerabilities by vendor
Every vendor in CISA's KEV catalog, with its count.
Apache exploited vulnerabilities
Everything CISA lists as exploited for Apache.
Vulnerability watch
A briefing and a fix pull request when an advisory hits your dependencies.
Know the day a CVE lands in your code
Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.