CVE-2021-21636: Missing permission check in Jenkins Team Foundation Server Plugin allows enumerating credentials IDs
4.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.0722%
CWE
Published
5/24/2022
Updated
10/27/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.jenkins-ci.plugins:tfs | maven | <= 5.157.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from an unauthenticated HTTP
endpoint handler in the TFS plugin. Jenkins plugins typically implement web endpoints via do*
methods in Java classes. The advisory explicitly mentions credential ID enumeration through an HTTP
endpoint with missing authorization (CWE-862), which aligns with Jenkins' pattern of requiring checkPermission()
calls in web methods. While the exact method name isn't disclosed, TeamFoundationServerWebHookManagement
is a core TFS plugin class that would handle credential-related operations, and the doGetCredentialIds
naming follows Jenkins' convention for parameter retrieval endpoints.