Security restrictions bypass in Matrix Project - #VU17915

 

Security restrictions bypass in Matrix Project - #VU17915

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


Vulnerability identifier: #VU17915
CSH Severity: Medium
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:Green
CVE-ID: N/A
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Jenkins
Affected software:
Matrix Project

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 sandboxed Groovy expression support for filtering matrix combinations. A remote attacker with ability to configure a Matrix project 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