6.5medium
Jenkins Pipeline: Stage View Plugin allows CSRF protection bypass of any target URL in Jenkins
- Severity
- 6.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.54% (higher than 47% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-g975-f26h-93g8
Description
Jenkins 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, allowing 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins Pipeline: Stage View Plugin | from unspecified up to 2.26 Not affected: 2.24.2 | CVE List |
| org.jenkins-ci.plugins.pipeline-stage-view:pipeline-stage-view (Maven) | from 2.25 before 2.27, before 2.24.2 | GitHub Advisory Database |
| jenkins pipeline:stage_view | before 2.27 | NVD |
All scores
| CISA-ADP | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| GitHub | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Classification
What each source says
CVE List
Jenkins 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, allowing 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.
GitHub Advisory Database
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.
NVD (es)
Pipeline de Jenkins: Stage View Plugin versiones 2.26 y anteriores, no codifica correctamente el ID de los pasos "input" cuando es usado para generar URLs para proceder o abortar construcciones de Pipeline, lo que permite a atacantes capaces de configurar Pipelines para especificar IDs de pasos de "input" que resulten en URLs que puedan omitir la protección de tipo CSRF de cualquier URL de destino en Jenkins
References
| https://www.jenkins.io/security/advisory/2022-10-19/#SECURITY-2828 | vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/10/19/3 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-43408 | advisory | |
| https://github.com/jenkinsci/pipeline-stage-view-plugin/commit/cee275109ee748fa9f599ec60159807a28a2933f | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-43408 changed 2025-05-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-g975-f26h-93g8 changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2022-43408 changed 2026-06-17 | Public domain |