CVE-2024-23897
criticalpriority · act · 90OT risk · criticalKEV · exploitedEPSS 1.000 · 100 %ileexploit · functionalDEEUNLRUUSadded 2024-08-19remediate by 2024-09-09
required action Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
EPSS · scored 2026-10-22
Jenkins Command Line Interface (CLI) Path Traversal Vulnerability
Jenkins 2.441 and earlier, LTS 2.426.2 and earlier does not disable a feature of its CLI command parser that replaces an '@' character followed by a file path in an argument with the file's contents, allowing unauthenticated attackers to read arbitrary files on the Jenkins controller file system.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.8–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (51)
Public proof-of-concept and weaponised exploit code.
- EDB-51993Jenkins 2.441 - Local File InclusionPoC · exploit_db
- AbraXa5/Jenkins-CVE-2024-23897PoC for Jenkins CVE-2024-23897PoC · poc_in_github
- Ap0dexMe0/CVE-2024-23897Perform with massive Jenkins Reading-2-RCEPoC · poc_in_github
affected products (47)
Products and version ranges known to be affected.
advisories (5)
Vendor and ecosystem advisories describing this.
- NCSC-2024-0294Kwetsbaarheden verholpen in Oracle CommunicationsNL2024-07-17csaf · ncsc_nlNL
Er zijn kwetsbaarheden verholpen in Oracle Communications.
- WID-SEC-W-2024-0199Jenkins: Mehrere SchwachstellenDeutsch2024-01-24csaf · cert_bundDE
Ein entfernter Angreifer kann mehrere Schwachstellen in Jenkins ausnutzen, um beliebigen Code auszuführen, Sicherheitsmaßnahmen zu umgehen, vertrauliche Informationen offenzulegen, Dateien zu manipulieren oder Cross-Site Scripting (XSS)-Angriffe durchzuführen.
- WID-SEC-W-2024-1642Oracle Communications: Mehrere SchwachstellenDeutsch2024-07-16csaf · cert_bundDE
Ein entfernter, anonymer oder authentisierter Angreifer kann mehrere Schwachstellen in Oracle Communications ausnutzen, um die Vertraulichkeit, Integrität und Verfügbarkeit zu gefährden.
- GHSA-6f9g-cxwr-q5jrArbitrary file read vulnerability through the Jenkins CLI can lead to RCE2024-01-24ghsa · osvUS
Jenkins has a built-in command line interface (CLI) to access Jenkins from a script or shell environment. Jenkins uses the args4j library to parse command arguments and options on the Jenkins controller when processing CLI commands. This command parser has a feature that replaces an @ character followed by a file path in an argument with the file’s contents (expandAtFiles). This feature is enabled by default and Jenkins 2.441 and earlier, LTS 2.426.2 and earlier does not disable it. This allows attackers to read arbitrary files on the Jenkins controller file system using the default character encoding of the Jenkins controller process. * Attackers with Overall/Read permission can read entire files. * Attackers without Overall/Read permission can read the first few lines of files. The number of lines that can be read depends on available CLI commands. As of publication of this advisory, the Jenkins security team has found ways to read the first three lines of files in recent releases of Jenkins without having any plugins installed, and has not identified any plugins that would increase this line count. Binary files containing cryptographic keys used for various Jenkins features can also be read, with some limitations (see note on binary files below). As of publication, the Jenkins security team has confirmed the following possible attacks in addition to reading contents of all files with a known file path. All of them leverage attackers' ability to obtain cryptographic keys from binary files, and are therefore only applicable to instances where that is feasible.
- BIT-jenkins-2024-238972024-03-06vendor · osvUS
Jenkins LTS 2.426.2 and earlier does not disable a feature of its CLI command parser that replaces an '@' character followed by a file path in an argument with the file's contents, allowing unauthenticated attackers to read arbitrary files on the Jenkins controller file system.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (20)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2024/01/24/6cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-23897/cnnvd
- https://cxsecurity.com/issue/WLB-2024040035cnnvd
- https://vigilance.fr/vulnerability/Jenkins-Core-two-vulnerabilities-43367cnnvd
- https://www.auscert.org.au/bulletins/ESB-2024.0495cnnvd
- https://www.exploit-db.com/exploits/51993cnnvd
- https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314cnnvd
- https://www.oracle.com/security-alerts/cpujul2024.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan