CVE-2021-21662 Missing permission check in Jenkins XebiaLabs XL Deploy Plugin allows enumerating credentials IDs
Attackers with read permissions can enumerate credential IDs in Jenkins XebiaLabs XL Deploy Plugin due to missing permission checks.
- 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-21662?
CVE-2021-21662 is a medium-severity missing authorization vulnerability in Jenkins XebiaLabs XL Deploy Plugin, published on 10 Jun 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A missing permission check in Jenkins XebiaLabs XL Deploy Plugin 10.0.1 and earlier allows attackers with Overall/Read permission to enumerate credentials ID of credentials stored in Jenkins.
Which versions are affected by CVE-2021-21662?
2 open source packages ship an affected version, including com.xebialabs.deployit.ci:deployit-plugin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.xebialabs.deployit.ci:deployit-plugin Maven | All versions | 10.0.2 |
com.xebialabs.deployit.ci:deployit-plugin Maven | All versions | 10.0.2 |
Products include Jenkins Xebialabs Xl Deploy.
How do I fix CVE-2021-21662?
Upgrade com.xebialabs.deployit.ci:deployit-plugin to 10.0.2 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-21662 being exploited?
There is no known exploitation of CVE-2021-21662 in the wild and no public exploit code.
Other vulnerabilities in Jenkins XebiaLabs XL Deploy Plugin
- CVE-2021-21665 CSRF vulnerability in Jenkins XebiaLabs XL Deploy Plugin allows capturing credentials
- CVE-2021-21664 Incorrect permission check in XebiaLabs XL Deploy Plugin allows capturing credentials
- CVE-2019-10304 Jenkins XebiaLabs XL Deploy Plugin vulnerable to Cross-site request forgery (CSRF)
- CVE-2019-10305 Missing permission check in Jenkins XebiaLabs XL Deploy Plugin
- CVE-2021-21663 Missing permission check in Jenkins XebiaLabs XL Deploy Plugin allows capturing credentials
Sources
Also known as GHSA-h246-g39x-7vmx.