CVE-2022-28156 Path traversal in Jenkins Phoenix AutoTest Plugin
Attackers with configure permissions can copy arbitrary files from the Jenkins controller to agent workspaces, exposing sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-28156?
CVE-2022-28156 is a medium-severity path traversal vulnerability in Jenkins Pipeline: Phoenix AutoTest 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 Pipeline: Phoenix AutoTest Plugin 1.3 and earlier allows attackers with Item/Configure permission to copy arbitrary files and directories from the Jenkins controller to the agent workspace.
Weakness: CWE-22
Which versions are affected by CVE-2022-28156?
2 open source packages ship an affected version, including com.surenpi.jenkins:phoenix-autotest. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.surenpi.jenkins:phoenix-autotest Maven | All versions to 1.3 | None |
com.surenpi.jenkins:phoenix-autotest Maven | All versions to 1.3 | None |
Products include Jenkins Pipeline\.
How do I fix CVE-2022-28156?
No fix has been published for CVE-2022-28156 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-28156 being exploited?
There is no known exploitation of CVE-2022-28156 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Pipeline: Phoenix AutoTest 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-43407 CSRF protection for any URL can be bypassed in Jenkins Pipeline: Input Step Plugin
- CVE-2022-25173 Improper Neutralization of Special Elements used in an OS Command in Jenkins Pipeline: Groovy Plugin
Sources
Also known as GHSA-6h2c-g688-q9qr.