1. CVE archive
  2. 2017
  3. CVE-2017-1000106

CVE-2017-1000106

8.5 High severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N 8.5 – High

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.

Affected products

VendorProductVersionPlatform
jenkins blue ocean <= 1.1.5 jenkins
jenkins blue ocean 1.2.0 beta1 jenkins
jenkins blue ocean 1.2.0 beta2 jenkins
jenkins blue ocean 1.2.0 beta3 jenkins
All 11 Jenkins Blue Ocean vulnerabilities

Vulnerability type

CWE-287 Improper Authentication

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

Impact on systems

ScopeImpact
Integrity, Confidentiality, Availability, Access Control Read Application Data, Gain Privileges or Assume Identity, Execute Unauthorized Code or Commands
This weakness can lead to the exposure of resources or functionality to unintended actors, possibly providing attackers with sensitive information or even execute arbitrary code.

How to prevent it

Architecture and Design · Libraries or Frameworks Use an authentication framework or library such as the OWASP ESAPI Authentication feature.

All 5,307 CWE-287 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org