GitHub Advisoryadvisory · Maven
GHSA-9wxh-jjj5-67cv Missing permission checks in SSH Agent Plugin allow enumerating credentials IDs
MEDIUM
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
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-20620 advisory
- https://github.com/jenkinsci/ssh-agent-plugin/commit/04f526d2f73a6fc24b59df20ba03d95265114835 web
- https://github.com/jenkinsci/ssh-agent-plugin/commit/9c08b9f93cfb3ada0f0124f5bd7f0d027728a750 web
- https://github.com/CVEProject/cvelist/blob/2d78eb36f4d084db7fb35f1535d8d84fdcb7d859/2022/20xxx/CVE-2022-20620.jsonhttps://github.com/CVEProject/cvelist/blob/2d78eb36f4d084db7fb35f1535d8d84fdcb7d859/2022/20xxx/CVE-2022-20620.json web
- https://github.com/jenkinsci/ssh-agent-plugin package
- https://www.jenkins.io/security/advisory/2022-01-12/#SECURITY-2189 web
- http://www.openwall.com/lists/oss-security/2022/01/12/6 web