Jenkins Pipeline Input Step Plugin allows CSRF via unsanitized Input ID
CVE-2022-43407 Published on October 19, 2022
Jenkins Pipeline: Input Step Plugin 451.vf1a_a_4f405289 and earlier does not restrict or sanitize the optionally specified ID of the 'input' step, which is used for the URLs that process user interactions for the given 'input' step (proceed or abort) and is not correctly encoded, allowing attackers able to configure Pipelines to have Jenkins build URLs from 'input' step IDs that would bypass the CSRF protection of any target URL in Jenkins when the 'input' step is interacted with.
Vulnerability Analysis
CVE-2022-43407 can be exploited with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
What is a Session Riding Vulnerability?
The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request. When a web server is designed to receive a request from a client without any mechanism for verifying that it was intentionally sent, then it might be possible for an attacker to trick a client into making an unintentional request to the web server which will be treated as an authentic request. This can be done via a URL, image load, XMLHttpRequest, etc. and can result in exposure of data or unintended code execution.
CVE-2022-43407 has been classified to as a Session Riding vulnerability or weakness.
Products Associated with CVE-2022-43407
stack.watch emails you whenever new vulnerabilities are published in Jenkins Input Step or Jenkins Pipeline. Just hit a watch button to start following.
Affected Versions
Jenkins project Jenkins Pipeline: Input Step Plugin:- Version 449.451.v9c3d42f23975 is unaffected.
- Version unspecified, <= 451.vf1a_a_4f405289 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.