Exploit database

Vulnerability

CVE-2017-9805

Vulnerability details

Score
8.1
Severity
high

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

7 sources
Apache Struts 2 REST Plugin XStream RCE
MSF-multi--http--struts2_rest_xstreamMetasploitLinux,Python,Unix,Windows / remote

Apache Struts versions 2.1.2 - 2.3.33 and Struts 2.5 - Struts 2.5.12, using the REST plugin, are vulnerable to a Java deserialization attack in the XStream library.

2017-09-05struts2_rest_xstream.rb
mazen160/struts-pwn_cve-2017-9805
GH-ebb03ccae08097f7c47c13b68d068eedGitHubUnofficial GitHub source

An exploit for Apache Struts CVE-2017-9805

2017-09-091 file · 247 stars
chrisjd20/cve-2017-9805.py
GH-b1ece1b844859866ff3c6e941ef55d67GitHubUnofficial GitHub source

Better Exploit Code For CVE 2017 9805 apache struts

2017-12-041 file · 21 stars
0x00-0x00/-cve-2017-9805
GH-6c3b83fc5d06dd7776bb2c7525f71be0GitHubUnofficial GitHub source

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

2017-11-241 file · 15 stars