CVE-2022-43407 CSRF protection for any URL can be bypassed in Jenkins Pipeline: Input Step Plugin

High 8.8 Published Updated

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.

PackageAffectedFixed in
org.jenkins-ci.plugins:pipeline-input-step MavenAll versions456.vd8a_957db_5b_e9
org.jenkins-ci.plugins:pipeline-input-step MavenAll versions456.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.

Sources

Also known as GHSA-g66m-fqxf-3w35.

Is CVE-2022-43407 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free