Rapid7 Vulnerability & Exploit Database

JBoss JMX Console Beanshell Deployer WAR Upload and Deployment

Back to Search

JBoss JMX Console Beanshell Deployer WAR Upload and Deployment

Created
05/30/2018

Description

This module can be used to install a WAR file payload on JBoss servers that have an exposed "jmx-console" application. The payload is put on the server by using the jboss.system:BSHDeployer's createScriptDeployment() method.

Author(s)

  • us3r777 <us3r777@n0b0.so>

Development

References

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 auxiliary/admin/http/jboss_bshdeployer
msf auxiliary(jboss_bshdeployer) > show actions
    ...actions...
msf auxiliary(jboss_bshdeployer) > set ACTION < action-name >
msf auxiliary(jboss_bshdeployer) > show options
    ...show and set options...
msf auxiliary(jboss_bshdeployer) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;