GitHub Advisoryadvisory · Maven

GHSA-9wxh-jjj5-67cv Missing permission checks in SSH Agent Plugin allow enumerating credentials IDs

MEDIUM Published 2022-01-13 Modified 2023-05-24 Official page ↗
Aliases
CVE-2022-20620
Ecosystem
Maven
Packages
org.jenkins-ci.plugins:ssh-agent
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-668, CWE-862
Reviewed
2022-07-27

Affected packages

• Maven org.jenkins-ci.plugins:ssh-agent: >= 1.23, < 1.23.2 → fixed in 1.23.2 • Maven org.jenkins-ci.plugins:ssh-agent: < 1.22.1 → fixed in 1.22.1

Description

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.

Related

Alias · CVE (1)

  • CVE-2022-20620 Missing permission checks in Jenkins SSH Agent Plugin 1.23 and earlier allows attackers with Overall/Read access to enumerate credentials… vulnerability

Weakness · CWE (2)

  • CWE-668 Exposure of Resource to Wrong Sphere weakness
  • CWE-862 Missing Authorization weakness

References