CVE Vulnerabilities

CVE-2017-1000106

Improper Authentication

Published: Oct 05, 2017 | Modified: Oct 03, 2019
CVSS 3.x
8.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
CVSS 2.x
5.5 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu

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 users authentication or credentials. If the GitHub organization folder was created via Blue Ocean, it retained a reference to its creators 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.

Weakness

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Affected Software

Name Vendor Start Version End Version
Blue_ocean Jenkins * 1.1.5 (including)
Blue_ocean Jenkins 1.2.0-beta1 (including) 1.2.0-beta1 (including)
Blue_ocean Jenkins 1.2.0-beta2 (including) 1.2.0-beta2 (including)
Blue_ocean Jenkins 1.2.0-beta3 (including) 1.2.0-beta3 (including)

Potential Mitigations

References