Rapid7

module

Jenkins CLI RMI Java Deserialization Vulnerability

Disclosed
Nov 18, 2015
Created
May 30, 2018

Description

This module exploits a vulnerability in Jenkins. An unsafe deserialization bug exists on
the Jenkins master, which allows remote arbitrary code execution. Authentication is not
required to exploit this vulnerability.

Authors

Christopher Frohoff
Steve Breen
Dev Mohanty
Louis Sato
wvu [email protected]
juan vazquez [email protected]
Wei Chen

Platform

Java

Architectures

java

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

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.