CVE-2022-30954:
Missing permission check in Jenkins Blue Ocean Plugin
4.3
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
5/18/2022
Updated
12/6/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
io.jenkins.blueocean:blueocean-parent | maven | < 1.25.4 | 1.25.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from HTTP endpoints handling SCM operations without: 1) POST method enforcement (allowing CSRF), and 2) Job/Create permission checks. The commit diff shows critical additions of checkPermission() calls and HTTP method validation in multiple SCM implementations. Functions like getState() and getOrganizations() in Bitbucket/GitHub SCM classes were modified to add these security checks, indicating they were previously vulnerable. The Scm.validateAndCreate endpoint's method change from PUT to POST in the annotation further confirms this pattern. Test cases added in *SecurityTest.java files validate that these endpoints now require proper permissions and POST requests.