Sandbox restrictions bypass in Script Security plugin for Jenkins



Published: 2019-01-22 | Updated: 2019-10-07
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-1003000
CWE-ID CWE-284
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
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) Improper access control

EUVDB-ID: #VU21570

Risk: High

CVSSv3.1:

CVE-ID: CVE-2019-1003000

CWE-ID: CWE-284 - Improper Access Control

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to bypass sandbox restrictions.

The vulnerability exists due to improper access restrictions in "src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/GroovySandbox.java" when applying AST transforming annotations such as @Grab to source code elements. A remote authenticated attacker with Overall/Read permission, or able to control Jenkins file or sandboxed Pipeline shared library contents in SCM, can bypass the sandbox protection and execute arbitrary code on the Jenkins master.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Script Security: 1.0 - 1.49


CPE2.3 External links

http://jenkins.io/security/advisory/2019-01-08/#SECURITY-1266

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###