CVE-2021-21664 Incorrect permission check in XebiaLabs XL Deploy Plugin allows capturing credentials
Attackers with Generic Create permission can connect to arbitrary URLs using stolen credentials, capturing stored Jenkins credentials.
- 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-21664?
CVE-2021-21664 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
An incorrect permission check in Jenkins XebiaLabs XL Deploy Plugin 10.0.1 and earlier allows attackers with Generic Create permission to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing Username/password credentials stored in Jenkins.
Weakness: CWE-863
Which versions are affected by CVE-2021-21664?
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-21664?
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-21664 being exploited?
There is no known exploitation of CVE-2021-21664 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-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-21662 Missing permission check in Jenkins XebiaLabs XL Deploy Plugin allows enumerating credentials IDs
- CVE-2021-21663 Missing permission check in Jenkins XebiaLabs XL Deploy Plugin allows capturing credentials
Sources
Also known as GHSA-jm4g-8rvq-v87j.