CVE-2022-28157: Path Traversal in Phoenix AutoTest Plugin

Summary

30/03/2022
No i
Moderate
6.5

CVE-2022-28157: Path traversal in Jenkins Pipeline Phoenix AutoTest Plugin. Affects com.surenpi.jenkins:phoenix-autotest versions < 1.3. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Phoenix AutoTest Plugin is a Maven package (com.surenpi.jenkins:phoenix-autotest) used in Jenkins Pipeline. It provides functionality for automated testing in Jenkins. The plugin allows users with Item/Configure permission to upload files from the Jenkins controller to an FTP server via FTP. This feature is intended to facilitate file transfer for testing purposes.

Vulnerability Detail

The Phoenix AutoTest Plugin version 1.3 and earlier is vulnerable to a path traversal attack. Attackers with Item/Configure permission can exploit this vulnerability to upload arbitrary files from the Jenkins controller to an attacker-specified FTP server. By manipulating the file path during the upload process, an attacker can traverse directories and potentially access sensitive files on the Jenkins controller. This can lead to unauthorized disclosure of information or even remote code execution.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can revoke Item/Configure permission for potentially untrusted users. This will prevent them from exploiting the vulnerability. However, this workaround may impact legitimate use cases where file uploads are required for testing. It is recommended to apply the official fix as soon as possible.

Conclusion

The Phoenix AutoTest Plugin version 1.3 and earlier is vulnerable to a path traversal attack, allowing attackers to upload arbitrary files from the Jenkins controller to an FTP server. To mitigate this vulnerability, it is recommended to upgrade to version 1.4 or later of the plugin and review user permissions. Applying the official fix will prevent unauthorized file uploads and potential disclosure of sensitive information. For additional support, please contact DevNack.com.

See every vulnerability recorded for com.surenpi.jenkins:phoenix-autotest →

Share this vulnerability

FAQ

This vulnerability allows attackers to upload arbitrary files from the Jenkins controller to an FTP server. Depending on the permissions of the Jenkins controller and the uploaded file, this can lead to unauthorized disclosure of sensitive information or even remote code execution.

Users of Jenkins Pipeline with the Phoenix AutoTest Plugin version 1.3 and earlier are affected by this vulnerability. Specifically, users with Item/Configure permission are at risk.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply provide your pom.xml file, and Vulert will analyze it for open-source vulnerabilities in real-time.

At the time of this report, there are no known public exploits for this vulnerability. However, it is crucial to apply the fix promptly to mitigate the risk of exploitation.

For further support on vulnerability remediation, you can reach out to info@devnack.com. Our team will be happy to assist you in addressing this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for com.surenpi.jenkins:phoenix-autotest.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback