Sandbox restrictions bypass in Pipeline: Groovy plugin for Jenkins



Published: 2020-02-13
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-2109
CWE-ID CWE-264
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Pipeline: Groovy
Web applications / Modules and components for CMS

Vendor Jenkins

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Permissions, Privileges, and Access Controls

EUVDB-ID: #VU25279

Risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-2109

CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls

Exploit availability: No

Description

The vulnerability allows a remote attacker to escalate privileges on the system.

The vulnerability exists due to the sandbox protection in the affected plugin can be circumvented through default parameter expressions in CPS-transformed methods. A remote authenticated attacker can specify and run sandboxed Pipelines to execute arbitrary code in the context of the Jenkins master JVM.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Pipeline: Groovy: 2.0 - 2.78

External links

http://www.openwall.com/lists/oss-security/2020/02/12/3
http://jenkins.io/security/advisory/2020-02-12/#SECURITY-1710


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###