CVE-2021-21664 Incorrect permission check in XebiaLabs XL Deploy Plugin allows capturing credentials

Medium 6.5 Published Updated

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.

PackageAffectedFixed in
com.xebialabs.deployit.ci:deployit-plugin MavenAll versions10.0.2
com.xebialabs.deployit.ci:deployit-plugin MavenAll versions10.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.

Sources

Also known as GHSA-jm4g-8rvq-v87j.

Is CVE-2021-21664 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free