CVE-2018-1000865 Improper Privilege Management in Jenkins
Attackers with Job/Configure permission can bypass the Groovy sandbox to execute arbitrary code on the Jenkins master JVM.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-1000865?
CVE-2018-1000865 is a high-severity vulnerability in Redhat Openshift Container Platform, published on 10 Dec 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A sandbox bypass vulnerability exists in Script Security Plugin 1.47 and earlier in groovy-sandbox/src/main/java/org/kohsuke/groovy/sandbox/SandboxTransformer.java that allows attackers with Job/Configure permission to execute arbitrary code on the Jenkins master JVM, if plugins using the Groovy sandbox are installed.
Weakness: CWE-269
Which versions are affected by CVE-2018-1000865?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:script-security. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:script-security Maven | All versions | 1.48 |
org.jenkins-ci.plugins:script-security Maven | All versions | 1.48 |
Products include Jenkins Script Security, Redhat Openshift Container Platform.
How do I fix CVE-2018-1000865?
Upgrade org.jenkins-ci.plugins:script-security to 1.48 or later.
Is CVE-2018-1000865 being exploited?
There is no known exploitation of CVE-2018-1000865 in the wild and no public exploit code.
Other vulnerabilities in Redhat Openshift Container Platform
- CVE-2019-1003029 Jenkins Script Security Plugin Sandbox Bypass
- CVE-2022-43401 Sandbox bypass vulnerabilities in Jenkins Script Security Plugin and in Pipeline: Groovy Plugin
- CVE-2022-43403 Jenkins Script Security Plugin sandbox bypass vulnerability
- CVE-2022-43404 Sandbox bypass vulnerabilities in Jenkins Script Security Plugin and in Pipeline: Groovy Plugin
- CVE-2020-2279 Sandbox bypass vulnerability in Jenkins Script Security Plugin
Sources
Also known as GHSA-p4p5-3v2j-w5rv.