PT-2023-8445
CVE-2024-23897
·
Published
2023-01-24
·
Updated
2026-11-19
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Jenkins versions prior to 2.442
Jenkins LTS versions prior to 2.426.3
Description
Jenkins contains an arbitrary file read issue in its Command Line Interface (CLI) due to the use of the
args4j library for parsing command arguments. The parser includes a feature called expandAtFiles that replaces an @ character followed by a file path in an argument with the actual contents of that file. This feature is enabled by default and was not disabled in affected versions.Unauthenticated attackers can exploit this to read arbitrary files on the Jenkins controller file system. Attackers with Overall/Read permissions can read entire files, while those without such permissions may still be able to read the first few lines of files. This flaw can be chained with other vulnerabilities to achieve remote code execution. Real-world exploitation has been observed by ransomware groups and other threat actors.
Recommendations
Update Jenkins to version 2.442.
Update Jenkins LTS to version 2.426.3.
As a temporary workaround, disable access to the CLI to eliminate the possibility of exploitation.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾