Quantum Secular Labs / Blog / Advisories
CVE-2019-1003029: Jenkins Script Security Plugin Sandbox Bypass Vulnerability
CVE-2019-1003029 is rated critical with a CVSS v3.1 base score of 9.9 and affects Jenkins Script Security 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-04-25, which means exploitation in the wild has been observed.
Vulnerability description
A sandbox bypass vulnerability exists in Jenkins Script Security Plugin 1.53 and earlier in src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/GroovySandbox.java, src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/SecureGroovyScript.java that allows attackers with Overall/Read permission 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.
Affected products
- Jenkins Script Security: up to and including 1.53
- Red Hat Openshift Container Platform: 3.11
References
- http://packetstormsecurity.com/files/166778/Jenkins-Remote-Code-Execution.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%281%29
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-1003029