Sandbox restrictions bypass in Script Security plugin for Jenkins



Published: 2020-02-13
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-2110
CWE-ID CWE-264
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Script Security
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: #VU25280

Risk: High

CVSSv3.1:

CVE-ID: CVE-2020-2110

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

Exploit availability: No

Description

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

The vulnerability exists due to the sandbox protection in the affected plugin can be circumvented during the script compilation phase by applying AST transforming annotations such as "@Grab" to imports or by using them inside of other annotations. A remote user with Overall/Read permission can bypass sandbox protection and execute arbitrary code in the context of the Jenkins master JVM.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Script Security: 1.0 - 1.69


CPE2.3 External links

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

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###