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. It did not properly check the current user's authentication and authorization when configuring existing GitHub organization folders. This allowed users with read access to the GitHub organization folder to reconfigure it, including changing the GitHub API endpoint for the organization folder to an attacker-controlled server to obtain the GitHub access token, if the organization folder was initially created using Blue Ocean.
Remediation
References
https://jenkins.io/security/advisory/2017-08-07/
Related Vulnerabilities
CVE-2016-8746 Vulnerability in maven package org.apache.ranger:ranger
CVE-2020-5398 Vulnerability in maven package org.springframework:spring-web
CVE-2021-40822 Vulnerability in maven package org.geoserver:gs-main
CVE-2019-10282 Vulnerability in maven package hudson.plugins.klaros:klaros-testmanagement
CVE-2021-32731 Vulnerability in maven package org.xwiki.platform:xwiki-platform-web