{"id":"GHSA-g975-f26h-93g8","summary":"Jenkins Pipeline: Stage View Plugin allows CSRF protection bypass of any target URL in Jenkins","details":"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.\n\nPipeline: 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.\n\nThis 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.\n\nPipeline: Stage View Plugin 2.27 correctly encodes the ID of `input` steps when using it to generate URLs to proceed or abort Pipeline builds.","aliases":["CVE-2022-43408"],"modified":"2024-02-16T08:24:10.335327Z","published":"2022-10-19T19:00:18Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-10-19T20:27:47Z","nvd_published_at":"2022-10-19T16:15:00Z","cwe_ids":["CWE-352","CWE-838"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-43408"},{"type":"WEB","url":"https://github.com/jenkinsci/pipeline-stage-view-plugin/commit/cee275109ee748fa9f599ec60159807a28a2933f"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2022-10-19/#SECURITY-2828"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2022/10/19/3"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins.pipeline-stage-view:pipeline-stage-view","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins.pipeline-stage-view/pipeline-stage-view"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.25"},{"fixed":"2.27"}]}],"versions":["2.25","2.26"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-g975-f26h-93g8/GHSA-g975-f26h-93g8.json"}},{"package":{"name":"org.jenkins-ci.plugins.pipeline-stage-view:pipeline-stage-view","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins.pipeline-stage-view/pipeline-stage-view"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.24.2"}]}],"versions":["1.0","1.0-alpha-1","1.0-alpha-2","1.1","1.2","1.2-beta-1","1.3","1.4","1.5","1.6","1.7","1.8-beta-1","2.0","2.0-beta-1","2.1","2.10","2.11","2.12","2.13","2.14","2.15","2.16","2.17","2.18","2.19","2.2","2.20","2.21","2.22","2.23","2.24","2.3","2.4","2.5","2.6","2.7-stepstorage3-alpha","2.7-stepstorage4-beta","2.8","2.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-g975-f26h-93g8/GHSA-g975-f26h-93g8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}