Security restrictions bypass in Job DSL - #VU17918

 

Security restrictions bypass in Job DSL - #VU17918

Published: March 7, 2019 / Updated: March 7, 2019


Vulnerability identifier: #VU17918
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:U/U:Clear
CVE-ID: N/A
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Jenkins
Affected software:
Job DSL

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the vulnerable server.

The vulnerability exists due to an error when parsing, compiling or instantiating a Groovy script within the support for sandboxed Groovy expressions for Job DSL definitions. A remote attacker with the ability to control the Job DSL scripts can supply a specially crafted Groovy script, bypass the sandbox protection and execute arbitrary code on the Jenkins master.

Successful exploitation of the vulnerability may allow an attacker to compromise the affected server.


Remediation

Install update from vendor's website.

Sources