Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Jenkins project Pipeline: Groovy Plugin
2.61 and earlieraffected
References
- https://jenkins.io/security/advisory/2019-01-08/#SECURITY-1266 ↗
- https://access.redhat.com/errata/RHBA-2019:0326 ↗
- http://packetstormsecurity.com/files/152132/Jenkins-ACL-Bypass-Metaprogramming-Remote-Code-Execution.html ↗
- http://www.rapid7.com/db/modules/exploit/multi/http/jenkins_metaprogramming ↗
- https://www.exploit-db.com/exploits/46572/ ↗
- https://access.redhat.com/errata/RHBA-2019:0327 ↗