Security Resilience

CVE-2017-9805

RCE in Apache Struts 2.1.2 – 2.3.34

CISA KEVActive ExploitationEUVD ExploitedPublic PoCRCEDeserialization
Published
15 September 2017
Modified
21 April 2026
KEV Added
03 November 2021
Patch / advisory
CVSS Score v3.1 8.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.99 99.9th percentile
Risk Priority 86 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2017-9805 is a high-severity Deserialization of Untrusted Data (CWE-502) vulnerability in Apache Struts. Its CVSS base score is 8.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 0.1% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

The vulnerability CVE-2017-9805 is a deserialization flaw (CWE-502) in the REST Plugin of Apache Struts 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13. It arises because the plugin uses an XStreamHandler instance of XStream to process XML payloads without any type filtering during deserialization.

An attacker with network access can supply a crafted XML payload to trigger remote code execution on the server. The attack requires no privileges or user interaction and carries a CVSS 3.1 score of 8.1, reflecting high impact on confidentiality, integrity, and availability despite the noted complexity.

Referenced advisories from Oracle, Red Hat, Apache, SecurityFocus, and SecurityTracker address the issue and point to the availability of patched versions 2.3.34 and 2.5.13.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.

CWE(s)
KEV Date Added
03 November 2021

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-46604Same vendor: Apacheboth on KEV
CVE-2026-20131Shared CWE-502both on KEV
CVE-2019-15271Shared CWE-502both on KEV
CVE-2025-24813Same vendor: Apacheboth on KEV
CVE-2025-0994Shared CWE-502both on KEV
CVE-2015-7450Shared CWE-502both on KEV
CVE-2021-27852Shared CWE-502both on KEV
CVE-2023-29300Shared CWE-502both on KEV
CVE-2025-3935Shared CWE-502both on KEV
CVE-2018-0147Shared CWE-502both on KEV

Affected Assets

apache
struts
2.1.2 — 2.3.34 · 2.5.0 — 2.5.13
cisco
digital media manager
all versions
cisco
hosted collaboration solution
10.5\(1\), 11.0\(1\), 11.5\(1\), 11.6\(1\)
cisco
media experience engine
3.5, 3.5.2
cisco
network performance analysis
all versions
cisco
video distribution suite for internet streaming
all versions
netapp
oncommand balance
all versions

Mitigating Controls

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-502

Penetration testing supplies malicious serialized objects, detecting unsafe deserialization and supporting corrective actions.

addresses: CWE-502

Evaluation of untrusted data handling (deserialization testing) reveals unsafe processing, which the required remediation process addresses.

addresses: CWE-502

Untrusted serialized data can be deserialized and observed inside the chamber, blocking gadget-chain exploitation outside the sandbox.

addresses: CWE-502

Validates or rejects untrusted serialized data before deserialization occurs.

addresses: CWE-502

Identifies and blocks malicious code introduced through deserialization of untrusted data at system boundaries.

addresses: CWE-502

Integrity verification of serialized information can detect tampering before deserialization occurs.

addresses: CWE-502

Provenance of associated data allows detection of untrusted sources before deserialization or processing occurs.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing includes validation of deserialization routines and the use of untrusted data, reducing the likelihood that unsafe object reconstruction will be deployed.

prevents

Training technical teams on secure deserialization practices reduces a minority of CWE-502 instances, but developers remain fallible and the owner explicitly identified A.8.29 (security testing) as the strongest control for this weakness, with A.8.28 (secure coding) graded only `partial` on the same pair.

prevents

Requiring vetted libraries, regular updates and SAST before release reduces the likelihood that deserialization logic will accept and act on attacker-controlled serialized objects.

finds

Regular scanning of third-party libraries and timely patching reduce the likelihood that unsafe deserialization vulnerabilities remain active.

References