Arbitrary Directory Creation and File Access in Jenkins xUnit Plugin
CVE-2022-34181
Key Information:
- Vendor
Jenkins
- Status
- CVE ID
- CVE ID:
- CVE-2022-34181
- Vendor
- CVE Published:
- 23 June 2022
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory ↗2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Jenkins Xunit Plugin. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Patch this week"
- It can be exploited remotely without credentials.
- Its CVSS severity is critical (9.1).
What is CVE-2022-34181?
The Jenkins xUnit Plugin prior to version 3.0.9 contains a vulnerability that allows for the creation of arbitrary directories and unauthorized access to files. When an agent communicates with the Jenkins controller, it can specify a directory to create if it does not already exist. This capability enables an attacker with control over the agent processes to generate a directory on the Jenkins controller and to access test result files from any specified directory. Such misuse could lead to exposure of sensitive information and manipulation of test data.
Affected Version(s)
Jenkins xUnit Plugin <= 3.0.8
References
More Jenkins Vulnerabilities
Deserialization Vulnerability in Jenkins
Deserialization Flaw in Jenkins
Deserialization Flaw in Jenkins Core Products
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction