CVE-2021-21637 Missing permission check in Jenkins Team Foundation Server Plugin allow capturing credentials

Medium 6.5 Published Updated

Attackers with read access can exploit missing permission checks to capture stored credentials by connecting to malicious URLs.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-21637?

CVE-2021-21637 is a medium-severity missing authorization vulnerability in Jenkins Team Foundation Server Plugin, published on 30 Mar 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 Team Foundation Server Plugin 5.157.1 and earlier allows attackers with Overall/Read permission to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.

Weakness: CWE-862

Which versions are affected by CVE-2021-21637?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:tfs. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:tfs MavenAll versions to 5.157.1None
org.jenkins-ci.plugins:tfs MavenAll versions to 5.157.1None

Products include Jenkins Team Foundation Server.

How do I fix CVE-2021-21637?

No fix has been published for CVE-2021-21637 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2021-21637 being exploited?

There is no known exploitation of CVE-2021-21637 in the wild and no public exploit code.

Sources

Also known as GHSA-6364-jx4h-7564.

Is CVE-2021-21637 in your software?

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

Check your SBOMs for free