Rapid7 Vulnerability & Exploit Database

Jenkins-CI Script-Console Java Execution

Back to Search

Jenkins-CI Script-Console Java Execution

Disclosed
01/18/2013
Created
05/30/2018

Description

This module uses the Jenkins-CI Groovy script console to execute OS commands using Java.

Author(s)

  • Spencer McIntyre
  • jamcut
  • thesubtlety

Platform

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

;