CVE-2018-1000607 Arbitrary file write vulnerability in Jenkins Fortify CloudScan Plugin
Attackers controlling rulepack zip contents can overwrite arbitrary files on the Jenkins master, potentially leading to code execution.
- 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-1000607?
CVE-2018-1000607 is a medium-severity path traversal vulnerability in n/a, published on 26 Jun 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A arbitrary file write vulnerability exists in Jenkins Fortify CloudScan Plugin 1.5.1 and earlier in ArchiveUtil.java that allows attackers able to control rulepack zip file contents to overwrite any file on the Jenkins master file system, only limited by the permissions of the user the Jenkins master process is running as.
Weakness: CWE-20
Which versions are affected by CVE-2018-1000607?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:fortify-cloudscan-jenkins-plugin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:fortify-cloudscan-jenkins-plugin Maven | All versions | 1.5.2 |
org.jenkins-ci.plugins:fortify-cloudscan-jenkins-plugin Maven | All versions | 1.5.2 |
Products include Jenkins Fortify Cloudscan.
How do I fix CVE-2018-1000607?
Upgrade org.jenkins-ci.plugins:fortify-cloudscan-jenkins-plugin to 1.5.2 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-1000607 being exploited?
There is no known exploitation of CVE-2018-1000607 in the wild and no public exploit code.
Sources
Also known as GHSA-8864-pwhg-3mp2.