Jenkins < 1.638 / 1.625.2 Java Object Deserialization RCE

high Nessus Plugin ID 86898

Synopsis

The remote web server is affected by a remote code execution vulnerability.

Description

The remote web server hosts a version of Jenkins or Jenkins Enterprise that is prior to 1.638 or 1.625.2. It is, therefore, affected by a flaw in the Apache Commons Collections (ACC) library that allows the deserialization of unauthenticated Java objects. An unauthenticated, remote attacker can exploit this to execute arbitrary code on the target host.

Solution

Upgrade to Jenkins version 1.638 / 1.625.2 or later. Alternatively, disable the CLI port per the vendor advisory.

See Also

http://www.nessus.org/u?0316bc02

http://www.nessus.org/u?9c6d83db

https://github.com/jenkinsci-cert/SECURITY-218

https://issues.apache.org/jira/browse/COLLECTIONS-580

Plugin Details

Severity: High

ID: 86898

File Name: jenkins_security218.nasl

Version: 1.13

Type: remote

Family: General

Published: 11/17/2015

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2015-8103

Vulnerability Information

CPE: cpe:/a:cloudbees:jenkins

Required KB Items: www/Jenkins

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/11/2015

Vulnerability Publication Date: 1/28/2015

Exploitable With

CANVAS (CANVAS)

Core Impact

Metasploit (OpenNMS Java Object Unserialization Remote Code Execution)

Reference Information

CVE: CVE-2015-8103

BID: 77636

CERT: 576313