NetSight
medium4.3

CVE-2022-20620

Missing permission checks in SSH Agent Plugin allow enumerating credentials IDs

Impact

Jenkins SSH Agent Plugin prior to 1.23.2 and 1.22.1 does not perform permission checks in several HTTP endpoints. This allows attackers with Overall/Read access to enumerate credentials IDs of credentials stored in Jenkins. Those can be used as part of an attack to capture the credentials using another vulnerability. An enumeration of credentials IDs in SSH Agent Plugin 1.23.2 and 1.22.1 requires the appropriate permissions.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.jenkins-ci.plugins:ssh-agent>= 1.23, < 1.23.21.23.2

Affected products

VendorProductAffected versions
JenkinsSsh Agent
through 1.23

Weakness classification

References