GHSA-9wxh-jjj5-67cv

Suggest an improvement
Source
https://github.com/advisories/GHSA-9wxh-jjj5-67cv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-9wxh-jjj5-67cv/GHSA-9wxh-jjj5-67cv.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9wxh-jjj5-67cv
Aliases
Published
2022-01-13T00:00:58Z
Modified
2024-02-16T08:20:30.077804Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Missing permission checks in SSH Agent Plugin allow enumerating credentials IDs
Details

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.

Database specific
{
    "nvd_published_at": "2022-01-12T20:15:00Z",
    "cwe_ids": [
        "CWE-668",
        "CWE-862"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-07-27T21:24:04Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:ssh-agent

Package

Name
org.jenkins-ci.plugins:ssh-agent
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/ssh-agent

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.23
Fixed
1.23.2

Affected versions

1.*

1.23

Maven / org.jenkins-ci.plugins:ssh-agent

Package

Name
org.jenkins-ci.plugins:ssh-agent
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/ssh-agent

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.22.1

Affected versions

0.*

0.1

1.*

1.0
1.1
1.2
1.3
1.4
1.4.1
1.4.2
1.5
1.6
1.7
1.8
1.9
1.10
1.11
1.12
1.13
1.14
1.15
1.16
1.17
1.18
1.19
1.20
1.21
1.22