module

Apache Struts 2 REST Plugin XStream RCE

Disclosed
2017-09-05
Created
2018-05-30

Description

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.

Authors

Man Yue Mo
wvu wvu@metasploit.com

Platform

Linux,Python,Unix,Windows

Architectures

cmd, python, x86, x64

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/multi/http/struts2_rest_xstream
msf exploit(struts2_rest_xstream) > show targets
...targets...
msf exploit(struts2_rest_xstream) > set TARGET < target-id >
msf exploit(struts2_rest_xstream) > show options
...show and set options...
msf exploit(struts2_rest_xstream) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.