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: 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-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

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?

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###