CVE-2017-9805

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...

Basic Information

CVE State
PUBLISHED
Reserved Date
June 21, 2017
Published Date
September 15, 2017
Last Updated
February 06, 2025
Vendor
Apache Software Foundation
Product
Apache Struts
Description
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.

CVSS Scores

SSVC Information

Exploitation
active
Technical Impact
total

Exploit Status

Exploited in the Wild
Yes (added 2021-11-03 00:00:00 UTC) Source
Proof of Concept Available
Yes (added 2019-09-02 22:24:07 UTC) Source

Known Exploited Vulnerability Information

Source Added Date
CISA 2021-11-03 00:00:00 UTC

Potential Proof of Concepts

Warning: These PoCs have not been tested and could contain malware. Use at your own risk.

struts2_rest_xstream

Type: metasploit • Created: Unknown

Metasploit module for CVE-2017-9805

Shakun8/CVE-2017-9805

Type: github • Created: 2022-10-03 00:15:31 UTC • Stars: 3

CVE-2017-9805 POC

0xd3vil/CVE-2017-9805-Exploit

Type: github • Created: 2021-04-04 04:35:19 UTC • Stars: 1

CVE-2017-9805-Exploit

z3bd/CVE-2017-9805

Type: github • Created: 2021-03-05 21:57:11 UTC • Stars: 0

struts2-rest-showcase 2.5.10

jongmartinez/-CVE-2017-9805-

Type: github • Created: 2020-11-28 00:00:37 UTC • Stars: 1

Exploit script for Apache Struts2 REST Plugin XStream RCE (‎CVE-2017-9805)

wifido/CVE-2017-9805-Exploit

Type: github • Created: 2020-06-11 07:36:56 UTC • Stars: 0

Struts 2.5 - 2.5.12 REST Plugin XStream RCE

AvishkaSenadheera/CVE-2017-9805---Documentation---IT19143378

Type: github • Created: 2020-05-12 17:53:57 UTC • Stars: 0

UbuntuStrike/CVE-2017-9805-Apache-Struts-Fuzz-N-Sploit

Type: github • Created: 2019-09-02 22:24:07 UTC • Stars: 0

A script to Fuzz and and exploit Apache struts CVE-2017-9805

UbuntuStrike/struts_rest_rce_fuzz-CVE-2017-9805-

Type: github • Created: 2019-08-31 22:06:31 UTC • Stars: 1

Simple python script to fuzz site for CVE-2017-9805

0x00-0x00/-CVE-2017-9805

Type: github • Created: 2017-11-24 14:46:35 UTC • Stars: 16

Exploit script for Apache Struts2 REST Plugin XStream RCE (‎CVE-2017-9805)

Lone-Ranger/apache-struts-pwn_CVE-2017-9805

Type: github • Created: 2017-09-10 05:26:03 UTC • Stars: 5

An exploit for Apache Struts CVE-2017-9805

mazen160/struts-pwn_CVE-2017-9805

Type: github • Created: 2017-09-09 01:32:57 UTC • Stars: 250

An exploit for Apache Struts CVE-2017-9805