CVE-2019-16540 Jenkins Support Core Plugin allowed users with Overall/Read permission to delete arbitrary files
Attackers with read permissions can delete arbitrary files on the Jenkins master via a path traversal vulnerability in the Support Core 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-2019-16540?
CVE-2019-16540 is a medium-severity path traversal vulnerability in Jenkins Support Core Plugin, published on 21 Nov 2019. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A path traversal vulnerability in Jenkins Support Core Plugin 2.63 and earlier allows attackers with Overall/Read permission to delete arbitrary files on the Jenkins master.
Weakness: CWE-22
Which versions are affected by CVE-2019-16540?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:support-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:support-core Maven | All versions | 2.64 |
org.jenkins-ci.plugins:support-core Maven | All versions | 2.64 |
Products include Jenkins Support Core.
How do I fix CVE-2019-16540?
Upgrade org.jenkins-ci.plugins:support-core to 2.64 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2019-16540 being exploited?
There is no known exploitation of CVE-2019-16540 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Support Core Plugin
- CVE-2022-45383 Incorrect permission checks in Jenkins Support Core Plugin
- CVE-2022-25187 Jenkins Support Core Plugin stores sensitive data in plain text
- CVE-2019-16539 Missing permission check in Jenkins Support Core Plugin
- CVE-2021-21621 Support bundles can include user session IDs in Jenkins Support Core Plugin
Sources
Also known as GHSA-2cxg-448h-4wxj.