#VU17912 Security restrictions bypass


Published: 2020-03-18 | Updated: 2022-04-25

Vulnerability identifier: #VU17912

Vulnerability risk: Medium

CVSSv3.1:

CVE-ID: CVE-2019-1003029

CWE-ID: CWE-264

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Script Security
Web applications / Modules and components for CMS

Vendor: Jenkins

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Script Security: 1.0 - 1.53


CPE

External links
http://jenkins.io/security/advisory/2019-03-06/


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?


Latest bulletins with this vulnerability