CVE-2022-28156 Path traversal in Jenkins Phoenix AutoTest Plugin

Medium 6.5 Published Updated

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.

PackageAffectedFixed in
com.surenpi.jenkins:phoenix-autotest MavenAll versions to 1.3None
com.surenpi.jenkins:phoenix-autotest MavenAll versions to 1.3None

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.

Sources

Also known as GHSA-6h2c-g688-q9qr.

Is CVE-2022-28156 in your software?

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

Check your SBOMs for free