Skip to content

Improper Authentication in Jenkins Blue Ocean Plugin

High severity GitHub Reviewed Published May 13, 2022 to the GitHub Advisory Database • Updated Jan 30, 2023

Package

maven io.jenkins.blueocean:blueocean (Maven)

Affected versions

< 1.2.0

Patched versions

1.2.0

Description

Blue Ocean allows the creation of GitHub organization folders that are set up to scan a GitHub organization for repositories and branches containing a Jenkinsfile, and create corresponding pipelines in Jenkins. Its SCM content REST API supports the pipeline creation and editing feature in Blue Ocean. The SCM content REST API did not check the current user's authentication or credentials. If the GitHub organization folder was created via Blue Ocean, it retained a reference to its creator's GitHub credentials. This allowed users with read access to the GitHub organization folder to create arbitrary commits in the repositories inside the GitHub organization corresponding to the GitHub organization folder with the GitHub credentials of the creator of the organization folder. Additionally, users with read access to the GitHub organization folder could read arbitrary file contents from the repositories inside the GitHub organization corresponding to the GitHub organization folder if the branch contained a Jenkinsfile (which could be created using the other part of this vulnerability), and they could provide the organization folder name, repository name, branch name, and file name.

References

Published by the National Vulnerability Database Oct 5, 2017
Published to the GitHub Advisory Database May 13, 2022
Reviewed Nov 1, 2022
Last updated Jan 30, 2023

Severity

High
8.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
High
Availability
None
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N

Weaknesses

CVE ID

CVE-2017-1000106

GHSA ID

GHSA-qgjq-m78x-4gm8

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.