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

Summary

30/03/2022
No i
Moderate
6.5

CVE-2022-28156: Path traversal in Jenkins 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Jenkins Pipeline: Phoenix AutoTest Plugin is a Maven package that enables automated testing in Jenkins. It provides functionality for copying files and directories from the Jenkins controller to the agent workspace. This plugin is vulnerable to a path traversal attack, allowing attackers with Item/Configure permission to copy arbitrary files and directories from the Jenkins controller to the agent workspace.

Vulnerability Detail

The vulnerability in Jenkins Phoenix AutoTest Plugin (versions 1.3 and earlier) arises from insufficient input validation. Attackers with Item/Configure permission can exploit this vulnerability to traverse the file system and copy sensitive files or directories to the agent workspace. This can lead to unauthorized access, data leakage, or potential code execution on the agent machine.

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 restrict Item/Configure permission to trusted individuals only. This can be achieved by adjusting the access control settings in Jenkins to limit the number of users with this permission. Additionally, it is advisable to monitor the agent workspace for any unauthorized file copies or suspicious activities.

Conclusion

The Jenkins Phoenix AutoTest Plugin (versions 1.3 and earlier) is vulnerable to a path traversal attack, allowing unauthorized copying of files and directories. It is crucial to upgrade to a non-vulnerable version and implement access control measures to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

The vulnerability allows attackers to copy arbitrary files and directories from the Jenkins controller to the agent workspace. This can lead to unauthorized access, data leakage, or potential code execution on the agent machine.

Users of Jenkins Pipeline: Phoenix AutoTest Plugin versions 1.3 and earlier are affected by this vulnerability.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities using just the 'pom.xml' file.

There are currently no known exploits for this vulnerability. However, it is important to apply the recommended fixes and monitor for any suspicious activities.

Yes, the CVSS score for this vulnerability is 6.5 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).

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