SB2019030701 - Security restrictions bypass in Jenkins Script Security plugin
Published: March 7, 2019 Updated: October 7, 2019
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Security restrictions bypass (CVE-ID: CVE-2019-1003029)
The vulnerability allows a remote attacker to execute arbitrary code on the vulnerable server.
The vulnerability exists due to an error in "src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/GroovySandbox.java" and "src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/SecureGroovyScript.java" when parsing, compiling or instantiating a Groovy script. A remote attacker with Overall/Read permission can supply a specially crafted Groovy script, bypass the sandbox protection and execute arbitrary code on the Jenkins master.
The vulnerability can be exploited via an HTTP endpoint that provides script validation or via another plugin on the system.
Successful exploitation of the vulnerability may allow an attacker to compromise the affected server.
Remediation
Install update from vendor's website.