CVE-2018-1000601 Exposure of Sensitive Information to an Unauthorized Actor in Jenkins SSH Credentials Plugin
Attackers with specific Jenkins permissions can read arbitrary files from the master file system via the SSH Credentials Plugin.
- 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-1000601?
CVE-2018-1000601 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 read vulnerability exists in Jenkins SSH Credentials Plugin 1.13 and earlier in BasicSSHUserPrivateKey.java that allows attackers with a Jenkins account and the permission to configure credential bindings to read arbitrary files from the Jenkins master file system.
Weakness: CWE-200
Which versions are affected by CVE-2018-1000601?
4 open source packages ship an affected version, including org.jenkins-ci.plugins:credentials and org.jenkins-ci.plugins:ssh-credentials. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:credentials Maven | All versions | 2.1.17 |
org.jenkins-ci.plugins:credentials Maven | All versions | 2.1.17 |
org.jenkins-ci.plugins:ssh-credentials Maven | All versions | 1.14 |
org.jenkins-ci.plugins:ssh-credentials Maven | All versions | 1.14 |
Products include Jenkins Ssh Credentials.
How do I fix CVE-2018-1000601?
Upgrade org.jenkins-ci.plugins:credentials to 2.1.17 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-1000601 being exploited?
There is no known exploitation of CVE-2018-1000601 in the wild and no public exploit code.
Sources
Also known as GHSA-cwcf-5m5w-mq2w.