CVE-2022-43408
Jenkins Pipeline: Stage View Plugin allows CSRF protection bypass of any target URL in Jenkins
Description
Jenkins Pipeline: Stage View Plugin provides a visualization of Pipeline builds. It also allows users to interact with input steps from Pipeline: Input Step Plugin.
Pipeline: Stage View Plugin 2.26 and earlier does not correctly encode the ID of input steps when using it to generate URLs to proceed or abort Pipeline builds.
This allows attackers able to configure Pipelines to specify input step IDs resulting in URLs that would bypass the CSRF protection of any target URL in Jenkins.
Pipeline: Stage View Plugin 2.27 correctly encodes the ID of input steps when using it to generate URLs to proceed or abort Pipeline builds.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins.pipeline-stage-view » pipeline-stage-view | < 2.24.2>= 2.25, < 2.27 | 2.24.2, 2.27 |
Blast radius
30% of the dependent artifacts (9) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 25 |
| 2 hops | 267 |
| 3 hops | 1 |
Most used dependents
- org.jenkins-ci.plugins.workflow » workflow-aggregator136 usages
- org.jenkins-ci.plugins » token-macro134 usages
- io.jenkins.plugins » pipeline-as-yaml4 usages
- org.jenkins-ci.plugins » p42 usages
- org.jenkins-ci.plugins » jira-steps1 usages
- io.jenkins.plugins » atlassian-bitbucket-server-integration1 usages
- org.jenkins-ci.plugins » hubot-steps1 usages
- org.jenkins-ci.plugins » hp-application-automation-tools-plugin0 usages
- org.waveywaves.jenkins.plugins » tekton-client0 usages
- io.jenkins.plugins » remote-file0 usages
- se.diabol.jenkins.pipeline » delivery-pipeline-plugin0 usages
- org.jenkins-ci.plugins » vectorcast-execution0 usages
- org.jenkins-ci.plugins » codesonar0 usages
- org.jenkins-ci.plugins » build-time-blame0 usages
- org.jenkins-ci.plugins » micro-focus-performance-center-integration0 usages
Computed from the dependency graph of build 20261202.2045 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2022-43408 | nvd.nist.gov |
| Web | jenkinsci/pipeline-stage-view-plugin commit cee2751 | github.com |
| Web | security/advisory/2022-10-19 | jenkins.io |
| Web | lists/oss-security/2022/10/19/3 | openwall.com |
