CVE-2017-9805: Apache Struts Deserialization of Untrusted Data Vulnerability

Published Sep 5, 2017
·
Updated

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.

Other sources

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.

GitHub

The REST Plugin is using a XStreamHandler with an instance of XStream for deserialization without any type filtering and this can lead to Remote Code Execution when deserializing XML payloads.

Affected versions:

Struts 2.5 - Struts 2.5.12

External References:

https://struts.apache.org/docs/s2-052.html

Red Hat

Affected Software

74 affected componentsFixes available
redhat/struts<2.5.13
2.5.13
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
Apache struts
Apache struts=2.1.2
Apache struts=2.1.3
Apache struts=2.1.4
Apache struts=2.1.5
Apache struts=2.1.6
Apache struts=2.1.8
Apache struts=2.1.8.1
Apache struts=2.2.1
Apache struts=2.2.1.1
Apache struts=2.2.3
Apache struts=2.2.3.1
Apache struts=2.3.1
Apache struts=2.3.1.1
Apache struts=2.3.1.2
Apache struts=2.3.3
Apache struts=2.3.4
Apache struts=2.3.4.1
Apache struts=2.3.7
Apache struts=2.3.8
Apache struts=2.3.12
Apache struts=2.3.14
Apache struts=2.3.14.1
Apache struts=2.3.14.2
Apache struts=2.3.14.3
Apache struts=2.3.15
Apache struts=2.3.15.1
Apache struts=2.3.15.2
Apache struts=2.3.15.3
Apache struts=2.3.16
Apache struts=2.3.16.1
Apache struts=2.3.16.2
Apache struts=2.3.16.3
Apache struts=2.3.20
Apache struts=2.3.20.1
Apache struts=2.3.20.3
Apache struts=2.3.24
Apache struts=2.3.24.1
Apache struts=2.3.24.3
Apache struts=2.3.28
Apache struts=2.3.28.1
Apache struts=2.3.29
Apache struts=2.3.30
Apache struts=2.3.31
Apache struts=2.3.32
Apache struts=2.3.33
Apache struts=2.5.1
Apache struts=2.5.2
Apache struts=2.5.3
Apache struts=2.5.4
Apache struts=2.5.5
Apache struts=2.5.6
Apache struts=2.5.7
Apache struts=2.5.8
Apache struts=2.5.9
Apache struts=2.5.10
Apache struts=2.5.10.1
Apache struts=2.5.11
Apache struts=2.5.12
Apache struts>=2.1.2<2.3.34
Apache struts>=2.5.0<2.5.13
Cisco Digital Media Manager
Cisco Hosted Collaboration Solution=10.5\(1\)
Cisco Hosted Collaboration Solution=11.0\(1\)
Cisco Hosted Collaboration Solution=11.5\(1\)
Cisco Hosted Collaboration Solution=11.6\(1\)
Cisco Media Experience Engine=3.5
Cisco Media Experience Engine=3.5.2
Cisco Network Performance Analysis
Cisco Video Distribution Suite For Internet Streaming
NetApp OnCommand Balance

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/struts to a version that resolves this vulnerability.

    Fixed in 2.5.13
  2. Upgrade

    Upgrade maven/org.apache.struts:struts2-rest-plugin to a version that resolves this vulnerability.

    Fixed in 2.3.34
  3. Upgrade

    Upgrade maven/org.apache.struts:struts2-rest-plugin to a version that resolves this vulnerability.

    Fixed in 2.5.13

Event History

Sep 15, 2017
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
DescriptionWeakness
Data Sourced
via NVD·07:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Oct 16, 2018
Advisory Published
via GitHub·07:37 PM
Nov 3, 2021
Known Exploited
via CISA·12:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2017-9805?

CVE-2017-9805 is considered a critical vulnerability due to its potential to allow remote code execution.

2

How do I fix CVE-2017-9805?

To fix CVE-2017-9805, upgrade the Apache Struts REST Plugin to version 2.3.34 or later for versions 2.1.2 to 2.3.x, or 2.5.13 for versions 2.5.x.

3

What are the affected versions for CVE-2017-9805?

CVE-2017-9805 affects Apache Struts versions 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13.

4

What kind of attacks can exploit CVE-2017-9805?

CVE-2017-9805 can be exploited through specially crafted XML payloads leading to remote code execution.

5

Are there any specific environments where CVE-2017-9805 is more vulnerable?

CVE-2017-9805 is particularly a concern in environments that make extensive use of the Apache Struts REST Plugin without proper type filtering during XML deserialization.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203