Quantum Secular Labs / Blog / Advisories
CVE-2019-1003030: Jenkins Matrix Project Plugin Remote Code Execution Vulnerability
CVE-2019-1003030 is rated critical with a CVSS v3.1 base score of 9.9 and affects Jenkins Matrix Project Plugin, along with 1 other product in NVD’s configuration data. Per its scoring, it can be exploited over the network, without any user interaction. The scored impact on confidentiality, integrity and availability is the highest available. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-03-25, which means exploitation in the wild has been observed.
Vulnerability description
A sandbox bypass vulnerability exists in Jenkins Pipeline: Groovy Plugin 2.63 and earlier in pom.xml, src/main/java/org/jenkinsci/plugins/workflow/cps/CpsGroovyShell.java that allows attackers able to control pipeline scripts to execute arbitrary code on the Jenkins master JVM.
Severity breakdown
CVSS v3.1 9.9: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Attack vector: Network. Exploitable remotely over the network, with no need for local or physical access.
- Attack complexity: Low. No special conditions; the attack can be repeated reliably.
- Privileges required: Low. A basic user account is enough.
- User interaction: None. No action from any user is needed.
- Scope: Changed. Impact reaches beyond the vulnerable component to other resources.
- Confidentiality impact: High. Total loss of confidentiality; sensitive data can be fully disclosed.
- Integrity impact: High. Total loss of integrity; data or system state can be fully modified.
- Availability impact: High. Total loss of availability; the component can be shut down.
Underlying weakness
CWE-693: Protection Mechanism Failure
The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.
Affected products
- Jenkins Pipeline\: up to and including 2.63
- Red Hat Openshift Container Platform: 3.11
References
- http://packetstormsecurity.com/files/159603/Jenkins-2.63-Sandbox-Bypass.html
- http://www.securityfocus.com/bid/107476
- https://access.redhat.com/errata/RHSA-2019:0739
- https://jenkins.io/security/advisory/2019-03-06/#SECURITY-1336%20%282%29
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-1003030