module

Apache Struts Remote Command Execution

Disclosed
07/13/2010
Created
05/30/2018

Description

This module exploits a remote command execution vulnerability in
Apache Struts versions handle unicode characters in OGNL extensive expressions passed to the web server.

By sending a specially crafted request to the Struts application it is possible to
bypass the "#" restriction on ParameterInterceptors by using OGNL context variables.
Bypassing this restriction allows for the execution of arbitrary Java code.

Authors

bannedit Meder Kydyraliev

Platform

Linux,Windows

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/struts_code_exec
    msf /(c) > show actions
        ...actions...
    msf /(c) > set ACTION < action-name >
    msf /(c) > show options
        ...show and set options...
    msf /(c) > run
  
Title
NEW

Explore Exposure Command

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