Improper access control in Script Security - CVE-2019-1003005

 

Improper access control in Script Security - CVE-2019-1003005

Published: October 7, 2019


Vulnerability identifier: #VU21571
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Amber
CVE-ID: CVE-2019-1003005
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Jenkins
Affected software:
Script Security

Detailed vulnerability 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.


How to mitigate CVE-2019-1003005

Install updates from vendor's website.

Sources