Sandbox restrictions bypass in Script Security plugin for Jenkins



Published: 2019-02-06 | Updated: 2019-10-07
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-1003005
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: #VU21571

Risk: High

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

CVE-ID: CVE-2019-1003005

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/SecureGroovyScript.java". A remote authenticated attacker with Overall/Read permission can provide a Groovy script to an HTTP endpoint execute arbitrary code on the Jenkins master JVM.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Script Security: 1.0 - 1.50

External links

http://jenkins.io/security/advisory/2019-01-28/#SECURITY-1292


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. However, a fully functional exploit for this vulnerability is available.



###SIDEBAR###