module

Apache Struts 2 Struts 1 Plugin Showcase OGNL Code Execution

Disclosed
Jul 7, 2017
Created
Jun 14, 2018

Description

This module exploits a remote code execution vulnerability in the Struts Showcase app in the Struts 1 plugin example in Struts 2.3.x series. Remote Code Execution can be performed via a malicious field value.

Authors

icez ic3z at qq dot com
Nixawk
xfer0

Platform

Linux,Unix,Windows

Architectures

cmd

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_code_exec_showcase
msf exploit(struts2_code_exec_showcase) > show targets
...targets...
msf exploit(struts2_code_exec_showcase) > set TARGET < target-id >
msf exploit(struts2_code_exec_showcase) > show options
...show and set options...
msf exploit(struts2_code_exec_showcase) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.