ID:1547 - Exploit for Security restrictions bypass in Script Security - CVE-2019-1003029
Published: March 18, 2020
Script Security
Link to public exploit:
Vulnerability description
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.