Rapid7 Vulnerability & Exploit Database

FTP JCL Execution

Back to Search

FTP JCL Execution

Disclosed
05/12/2013
Created
05/30/2018

Description

(Submit JCL to z/OS via FTP and SITE FILE=JES. This exploit requires valid credentials on the target system)

Author(s)

  • Bigendian Smalls
  • mainframed a.k.a. soldier of fortran
  • S&Oxballs a.k.a. chiefascot

Platform

Mainframe

Architectures

cmd

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

;