CrowdSec
2/10CrowdSec Score

Apache Struts - RCE (CVE-2017-9805)

Published on15-09-2017
First seen on07-07-2025

454Exploiting IPs reported

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.

CrowdSec analysis

CVE-2017-9805 is a critical vulnerability in the REST Plugin of Apache Struts versions 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13, where unsafe deserialization of XML payloads via XStreamHandler can lead to remote code execution. Attackers can exploit this flaw to execute arbitrary code on the affected server, potentially leading to full system compromise and further attacks within the network.

CrowdSec has been tracking this vulnerability and its exploits since 30th of June 2025.

According to CrowdSec data, while opportunistic exploitation dominates, a portion of threat actors trying to exploit CVE-2017-9805 apply basic targeting methods such as port or service detection. This indicates emerging patterns of selective targeting. CrowdSec network telemetry also shows that exploitation of CVE-2017-9805 has significantly declined over the past week. Attack volumes are well below the long-term average, suggesting attackers are rapidly losing interest. The vulnerability appears to be falling out of active use across most threat landscapes.

Attackers exploit this vulnerability by sending crafted POST requests with malicious XML payloads to /struts2-rest-showcase/orders/ endpoints, leading to remote code execution via unsafe deserialization.

Exploitation

Get real-time information about exploitation attempts and actors involved.

Detected IPs

Discover the IPs that targeted this vulnerability across the CrowdSec Network.

Common Weakness Enumeration (CWE)

Protection

Find out relevant information to protect your stack against this CVE.

Blocklist

With our advanced worldwide network detection, CrowdSec can provide a list of IPs known for exploiting the vulnerability.

To increase your protection against this CVE, block exploitation attempts with this list of identified actors.