PT-2017-2795 · Apache+1 · Apache Struts+1

Man Yue Mo

·

Published

2017-09-05

·

Updated

2026-03-10

·

CVE-2017-9805

CVSS v2.0

7.6

High

VectorAV:N/AC:H/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Apache Struts versions 2.1.1 through 2.3.x before 2.3.34 Apache Struts versions 2.5.x before 2.5.13
Description The issue is related to the REST Plugin in Apache Struts, which uses an XStreamHandler with an instance of XStream for deserialization without any type filtering. This can lead to Remote Code Execution when deserializing XML payloads. The vulnerability exists due to the lack of filtering during the deserialization of XML requests, allowing remote attackers to execute arbitrary code.
Recommendations For Apache Struts versions 2.1.1 through 2.3.x before 2.3.34, upgrade to version 2.3.34 or later. For Apache Struts versions 2.5.x before 2.5.13, upgrade to version 2.5.13 or later. As a temporary workaround, consider disabling the XStreamHandler until a patch is available. Restrict access to the REST Plugin to minimize the risk of exploitation. Avoid using the XStream library for deserialization until the issue is resolved.

Exploit

Fix

RCE

Deserialization of Untrusted Data

Weakness Enumeration

Related Identifiers

APACHESTRUTSCVE20179805CHECK
BDU:2017-02057
BDU:2017-02058
CVE-2017-9805
GHSA-29RM-6752-GVWV
GHSA-8FX9-5HX8-CRHM
GHSA-8MR5-H28G-36QX
GHSA-9GP7-JVM2-R4MX
GHSA-GG9M-FJ3V-R58C
GHSA-VWXJ-6M5M-RRVH
GHSA-X5X7-3V85-WPC4

Affected Products

Apache Struts
Xstream