CVE-2022-28146 Arbitrary file read vulnerability in Jenkins Continuous Integration with Toad Edge Plugin
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.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:ci-with-toad-edge Maven | All versions | 2.4 |
org.jenkins-ci.plugins:ci-with-toad-edge Maven | All versions | 2.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.
Other vulnerabilities in Jenkins Continuous Integration with Toad Edge Plugin
- CVE-2022-28148 Path traversal vulnerability on Windows in Jenkins Continuous Integration with Toad Edge Plugin
- CVE-2022-28145 Cross-site Scripting (XSS) vulnerability in Jenkins Continuous Integration with Toad Edge Plugin
- CVE-2022-28147 Missing permission check in Jenkins Continuous Integration with Toad Edge Plugin
Sources
Also known as GHSA-8p4x-fq8v-xhv4.