Vulnerabilities > CVE-2019-1003005 - Unspecified vulnerability in Jenkins Script Security
Attack vector
NETWORK Attack complexity
LOW Privileges required
LOW Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
A sandbox bypass vulnerability exists in Jenkins Script Security Plugin 1.50 and earlier in src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/SecureGroovyScript.java that allows attackers with Overall/Read permission to provide a Groovy script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM.
Vulnerable Configurations
Metasploit
description | This module exploits a vulnerability in Jenkins dynamic routing to bypass the Overall/Read ACL and leverage Groovy metaprogramming to download and execute a malicious JAR file. When the "Java Dropper" target is selected, the original entry point based on classLoader.parseClass is used, which requires the use of Groovy metaprogramming to achieve RCE. When the "Unix In-Memory" target is selected, a newer, higher-level, and more universal entry point based on GroovyShell.parse is used. This permits the use of in-memory arbitrary command execution. The ACL bypass gadget is specific to Jenkins <= 2.137 and will not work on later versions of Jenkins. Tested against Jenkins 2.137 and Pipeline: Groovy Plugin 2.61. |
id | MSF:EXPLOIT/MULTI/HTTP/JENKINS_METAPROGRAMMING |
last seen | 2020-06-14 |
modified | 2020-04-10 |
published | 2019-02-23 |
references |
|
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/multi/http/jenkins_metaprogramming.rb |
title | Jenkins ACL Bypass and Metaprogramming RCE |
Nessus
NASL family | Red Hat Local Security Checks |
NASL id | REDHAT-RHSA-2019-0739.NASL |
description | An update for jenkins-2-plugins is now available for Red Hat OpenShift Container Platform 3.11. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. Jenkins is a continuous integration server that monitors executions of repeated jobs, such as building a software project or jobs run by cron. Security fix(es) : * jenkins-plugin-script-security: Sandbox bypass in script security plug-in (CVE-2019-1003005) * jenkins-plugin-script-security: Sandbox bypass in script security plug-in (CVE-2019-1003024) * jenkins-plugin-script-security: Sandbox bypass in script security plug-in (CVE-2019-1003029) * jenkins-plugin-workflow-cps: Sandbox bypass in pipeline: Groovy plug-in (CVE-2019-1003030) * jenkins-matrix-project-plugin: Sandbox bypass in matrix project plug-in (CVE-2019-1003031) * jenkins-job-dsl-plugin: Script security sandbox bypass in job DSL plug-in (CVE-2019-1003034) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 123990 |
published | 2019-04-11 |
reporter | This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof. |
source | https://www.tenable.com/plugins/nessus/123990 |
title | RHEL 7 : Red Hat OpenShift Container Platform 3.11 jenkins-2-plugins (RHSA-2019:0739) |
code |
|
Redhat
advisories |
| ||||
rpms | jenkins-2-plugins-0:3.11.1552336312-1.el7 |