CVE-2019-1003001: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
(updated )
A sandbox bypass vulnerability exists in Pipeline: Groovy Plugin 2.61 and earlier in src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowDefinition.java, src/main/java/org/jenkinsci/plugins/workflow/cps/CpsGroovyShellFactory.java that allows attackers with Overall/Read permission to provide a pipeline script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM.
References
- packetstormsecurity.com/files/152132/Jenkins-ACL-Bypass-Metaprogramming-Remote-Code-Execution.html
- www.rapid7.com/db/modules/exploit/multi/http/jenkins_metaprogramming
- access.redhat.com/errata/RHBA-2019:0326
- access.redhat.com/errata/RHBA-2019:0327
- github.com/advisories/GHSA-6q78-6xvr-26fg
- github.com/jenkinsci/pipeline-model-definition-plugin/commit/6d7884dec610bf34503d24d494d994e9fc607642
- github.com/jenkinsci/script-security-plugin/commit/2c5122e50742dd16492f9424992deb21cc07837c
- github.com/jenkinsci/workflow-cps-plugin/commit/66c3e7aafe7888d4e1fe9995a688bb3fb742d742
- jenkins.io/security/advisory/2019-01-08/
- nvd.nist.gov/vuln/detail/CVE-2019-1003001
- www.exploit-db.com/exploits/46572/
Detect and mitigate CVE-2019-1003001 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →