CVE-2022-28157 Path traversal in Jenkins Pipeline Phoenix AutoTest Plugin

Medium 6.5 Published Updated

Attackers with configure permissions can upload arbitrary files from the Jenkins controller to an external FTP server.

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

CVE-2022-28157 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 upload arbitrary files from the Jenkins controller via FTP to an attacker-specified FTP server.

Weakness: CWE-22

Which versions are affected by CVE-2022-28157?

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

No fix has been published for CVE-2022-28157 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-28157 being exploited?

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

Sources

Also known as GHSA-62hc-f8qj-5xc3.

Is CVE-2022-28157 in your software?

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

Check your SBOMs for free