CVE-2022-28148 Path traversal vulnerability on Windows in Jenkins Continuous Integration with Toad Edge Plugin

Medium 6.5 Published Updated

Attackers with Item/Read permission can read arbitrary files on Windows controllers via path traversal in the Jenkins Toad Edge Plugin file browser.

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-28148?

CVE-2022-28148 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

The file browser in Jenkins Continuous Integration with Toad Edge Plugin 2.3 and earlier may interpret some paths to files as absolute on Windows, resulting in a path traversal vulnerability allowing attackers with Item/Read permission to obtain the contents of arbitrary files on Windows controllers.

Weakness: CWE-22

Which versions are affected by CVE-2022-28148?

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-28148?

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-28148 being exploited?

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

Sources

Also known as GHSA-mc92-c859-jr66.

Is CVE-2022-28148 in your software?

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

Check your SBOMs for free