Rapid7 Vulnerability & Exploit Database

JBoss DeploymentFileRepository WAR Deployment (via JMXInvokerServlet)

Back to Search

JBoss DeploymentFileRepository WAR Deployment (via JMXInvokerServlet)

Disclosed
02/20/2007
Created
05/30/2018

Description

This module can be used to execute a payload on JBoss servers that have an exposed HTTPAdaptor's JMX Invoker exposed on the "JMXInvokerServlet". By invoking the methods provided by jboss.admin:DeploymentFileRepository a stager is deployed to finally upload the selected payload to the target. The DeploymentFileRepository methods are only available on Jboss 4.x and 5.x.

Author(s)

  • Patrick Hof
  • Jens Liebchen
  • h0ng10

Platform

Java,Linux,Windows

Development

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

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

;