CVE-2022-28146 Arbitrary file read vulnerability in Jenkins Continuous Integration with Toad Edge Plugin

Medium 6.5 Published Updated

Attackers with Item/Configure permission can read arbitrary files on the Jenkins controller via the Toad Edge Plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-28146?

CVE-2022-28146 is a medium-severity path traversal vulnerability in Jenkins Continuous Integration with Toad Edge Plugin, published on 29 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Continuous Integration with Toad Edge Plugin 2.3 and earlier allows attackers with Item/Configure permission to read arbitrary files on the Jenkins controller by specifying an input folder on the Jenkins controller as a parameter to its build steps.

Weakness: CWE-22

Which versions are affected by CVE-2022-28146?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:ci-with-toad-edge. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:ci-with-toad-edge MavenAll versions2.4
org.jenkins-ci.plugins:ci-with-toad-edge MavenAll versions2.4

Products include Jenkins Continuous Integration With Toad Edge.

How do I fix CVE-2022-28146?

Upgrade org.jenkins-ci.plugins:ci-with-toad-edge to 2.4 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-28146 being exploited?

There is no known exploitation of CVE-2022-28146 in the wild and no public exploit code.

Sources

Also known as GHSA-8p4x-fq8v-xhv4.

Is CVE-2022-28146 in your software?

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

Check your SBOMs for free