Security restrictions bypass in Groovy - #VU17917

 

Security restrictions bypass in Groovy - #VU17917

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


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

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 "System Groovy" functionality. A remote attacker with the Overall/Read permissions or with access to an HTTP endpoint 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