GHSA-w66r-f5gg-gqwm

Suggest an improvement
Source
https://github.com/advisories/GHSA-w66r-f5gg-gqwm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-w66r-f5gg-gqwm/GHSA-w66r-f5gg-gqwm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-w66r-f5gg-gqwm
Aliases
Published
2022-05-17T00:33:21Z
Modified
2024-02-21T05:31:13.869620Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
Jenkins GitHub Branch Source Plugin vulnerable to Cross-Site Request Forgery
Details

GitHub Branch Source Plugin connects to a user-specified GitHub API URL (e.g. GitHub Enterprise) as part of form validation and completion (e.g. to verify Scan Credentials are correct). This functionality improperly checked permissions, allowing any user with Overall/Read access to Jenkins to connect to any web server and send credentials with a known ID, thereby possibly capturing them. Additionally, this functionality did not require POST requests be used, thereby allowing the above to be performed without direct access to Jenkins via Cross-Site Request Forgery. An enumeration of credentials IDs in this plugin now requires the permission to have Extended Read permission (when that permission is enabled; otherwise Configure permission) to the job in whose context credentials are being accessed. If no job context exists, Overall/Administer permission is required.

Database specific
{
    "nvd_published_at": "2017-10-05T01:29:00Z",
    "cwe_ids": [
        "CWE-352"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-12-12T21:31:46Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:github-branch-source

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.0-alpha-1

Affected versions

0.*

0.1-beta-1
0.1-beta-2
0.1-beta-3
0.1-beta-4

1.*

1.0
1.1
1.2
1.3
1.4-beta-1
1.4
1.5
1.6
1.7
1.8
1.8.1
1.9
1.10
1.10.1

2.*

2.0.0-beta-1
2.0.0-beta-2
2.0.0
2.0.1-beta-1
2.0.1-beta-2
2.0.1-beta-3
2.0.1-beta-4
2.0.1-beta-5
2.0.1-beta-6
2.0.1
2.0.2
2.0.3
2.0.4-beta-1
2.0.4
2.0.5
2.0.6
2.0.7
2.0.8