Improper access control in Pipeline: Declarative - CVE-2019-1003002

 

Improper access control in Pipeline: Declarative - CVE-2019-1003002

Published: October 7, 2019


Vulnerability identifier: #VU21573
CSH Severity: High
CVSS v4: 8.7 [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]
CVE-ID: CVE-2019-1003002
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to bypass sandbox restrictions.

The vulnerability exists due to improper access restrictions in "pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/Converter.groovy" 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 provide a pipeline script to an HTTP endpoint and execute arbitrary code on the Jenkins master JVM.


Affected software

Pipeline: Declarative

How to mitigate CVE-2019-1003002

Install updates from vendor's website.

Pipeline: Declarative - update to 1.3.4.1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins