CVE-2017-1000106 Improper Authentication in Jenkins Blue Ocean Plugin
Users with read access can exploit missing authentication checks to read files and create commits using the folder creator's GitHub credentials.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-1000106?
CVE-2017-1000106 is a high-severity missing authorization vulnerability in n/a, published on 4 Oct 2017. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-287
Which versions are affected by CVE-2017-1000106?
2 open source packages ship an affected version, including io.jenkins.blueocean:blueocean. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
io.jenkins.blueocean:blueocean Maven | All versions | 1.2.0 |
io.jenkins.blueocean:blueocean Maven | All versions | 1.2.0 |
Products include Jenkins Blue Ocean.
How do I fix CVE-2017-1000106?
Upgrade io.jenkins.blueocean:blueocean to 1.2.0 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2017-1000106 being exploited?
There is no known exploitation of CVE-2017-1000106 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2023-40341 Jenkins Blue Ocean Plugin cross-site request forgery vulnerability
- CVE-2022-30952 Insufficiently Protected Credentials in Jenkins Pipeline SCM API for Blue Ocean Plugin
- CVE-2022-30953 Cross Site Request Forgery in Jenkins Blue Ocean Plugin
- CVE-2022-30954 Missing permission check in Jenkins Blue Ocean Plugin
- CVE-2020-2254 Path traversal vulnerability in Blue Ocean Plugin
Sources
Also known as GHSA-qgjq-m78x-4gm8.