LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

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

RBRecent Breaches Vulnerability Intelligence·Nov 3, 2021
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
May 3, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2017-9805 to its Known Exploited Vulnerabilities catalog on Nov 3, 2021, with a federal patch deadline of May 3, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

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.

CVE-2017-9805 is a deserialization vulnerability in Apache Struts that can allow remote code execution. It affects the REST Plugin, which processes XML payloads using XStream without adequate type filtering. For IT and security teams, this matters because successful abuse can give an attacker the ability to run code in the context of the application server, potentially leading to full compromise of the host or downstream systems that trust it.

Public detail is limited to the weakness class and the high-level mechanism described by CISA; exact affected versions, configuration prerequisites, and patch identifiers must be confirmed against the vendor advisory before you act.

How it works

The flaw belongs to CWE-502: deserialization of untrusted data. In this case the Apache Struts REST Plugin uses an XStreamHandler backed by an XStream instance that performs deserialization without type filtering. When an application accepts XML input that is passed to this handler, an attacker who can supply a crafted XML payload may cause the deserializer to instantiate unexpected classes and invoke methods that result in remote code execution.

At a technical level the attack surface is any endpoint that accepts XML and routes it through the vulnerable REST Plugin deserialization path. No further exploit mechanics are provided in the available facts; defenders should treat any untrusted XML reaching that code path as potentially dangerous and verify the precise conditions in the vendor advisory.

Am I affected? How to find it in your systems

Apache Struts is a Java web-application framework commonly found in enterprise Java EE or servlet-container deployments (for example Tomcat, JBoss/WildFly, WebLogic, or embedded containers). The REST Plugin is an optional or separately enabled component; not every Struts installation will have it active.

How to remediate

Patch first. Apply the updates published by the Apache Struts project exactly as directed in the vendor advisory. CISA’s required action is to apply updates per vendor instructions; that remains the definitive remediation.

If you can't patch immediately

Compensating controls can lower risk until the vendor update is deployed, but they are not a substitute for patching.

If your data may have been exposed

Actively exploited remote-code-execution vulnerabilities are frequently used as an initial access vector that can lead to data theft or further compromise. Known ransomware use of this specific CVE is not documented in the supplied facts, but that does not rule out other post-exploitation activity. If you have reason to believe an affected system was reachable and unpatched, treat it as a potential incident: isolate the host, preserve volatile evidence, and begin your incident-response process. As a quick additional check, you can run a free exposure scan of your email addresses against known breach data sets to see whether credentials or personal information associated with your organization have already appeared in public breach corpora.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedApache · Struts
WeaknessCWE-502
Added to CISA KEVNov 3, 2021
Federal patch deadlineMay 3, 2022
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities