CVE-2021-21645 Missing permission checks in Jenkins Config File Provider Plugin allow enumerating configuration file IDs
Attackers with read permissions can enumerate configuration file IDs due to missing permission checks in the Jenkins Config File Provider 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-2021-21645?
CVE-2021-21645 is a medium-severity missing authorization vulnerability in Jenkins Config File Provider Plugin, published on 21 Apr 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins Config File Provider Plugin 3.7.0 and earlier does not perform permission checks in several HTTP endpoints, attackers with Overall/Read permission to enumerate configuration file IDs.
Which versions are affected by CVE-2021-21645?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:config-file-provider. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:config-file-provider Maven | All versions | 3.7.1 |
org.jenkins-ci.plugins:config-file-provider Maven | All versions | 3.7.1 |
Products include Jenkins Config File Provider.
How do I fix CVE-2021-21645?
Upgrade org.jenkins-ci.plugins:config-file-provider to 3.7.1 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-21645 being exploited?
There is no known exploitation of CVE-2021-21645 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Config File Provider Plugin
- CVE-2021-21642 XML External Entity Reference vulnerability in Jenkins Config File Provider Plugin
- CVE-2018-1000414 CSRF vulnerability in Config File Provider Plugin
- CVE-2023-40339 Jenkins Config File Provider Plugin improper credential masking vulnerability
- CVE-2021-21643 Incorrect permission checks in Jenkins Config File Provider Plugin allow enumerating credentials IDs
- CVE-2017-1000104 Improper Privilege Management in Jenkins Config File Provider Plugin
Sources
Also known as GHSA-2959-fj73-hm8p.