CVE-2022-43407 CSRF protection for any URL can be bypassed in Jenkins Pipeline: Input Step Plugin
Attackers can bypass CSRF protection in Jenkins by manipulating input step IDs, requiring the ability to configure Pipelines.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-43407?
CVE-2022-43407 is a high-severity vulnerability in Jenkins Pipeline: Input Step Plugin, published on 19 Oct 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-352
Which versions are affected by CVE-2022-43407?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:pipeline-input-step. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:pipeline-input-step Maven | All versions | 456.vd8a_957db_5b_e9 |
org.jenkins-ci.plugins:pipeline-input-step Maven | All versions | 456.vd8a_957db_5b_e9 |
Products include Jenkins Pipeline\.
How do I fix CVE-2022-43407?
Upgrade org.jenkins-ci.plugins:pipeline-input-step to 456.vd8a_957db_5b_e9 or later.
Is CVE-2022-43407 being exploited?
There is no known exploitation of CVE-2022-43407 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Pipeline: Input Step Plugin
- CVE-2019-1003030 Jenkins Matrix Project Plugin Remote Code Execution
- CVE-2022-43402 Jenkins Pipeline: Groovy Plugin allows sandbox protection bypass and arbitrary code execution
- CVE-2019-1003041 Sandbox bypass vulnerability in Jenkins Pipeline: Groovy Plugin
- CVE-2022-25173 Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Groovy Plugin
- CVE-2022-25174 Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Shared Groovy Libraries Plugin
Sources
Also known as GHSA-g66m-fqxf-3w35.