CVE-2024-23897
Jenkins Command Line Interface (CLI) Path Traversal Vulnerability
Does this matter?
Known to be exploited in the wild (CISA KEV, CISA remediation deadline 9 September 2024). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.
Description
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 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 100.00% probability · 100th percentile
- CISA KEV
- Listed 19 August 2024 · due 9 September 2024 · used in ransomware campaigns
- Weakness
- CWE-22, CWE-27
- Affected
- jenkins/jenkins
- Source
- jenkinsci-cert@googlegroups.com
CISA notes
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314; https://nvd.nist.gov/vuln/detail/CVE-2024-23897
References
- http://packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.htmlThird Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.htmlExploit, Third Party Advisory, VDB Entry
- http://www.openwall.com/lists/oss-security/2024/01/24/6Mailing List
- https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314Vendor Advisory
- https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/Exploit, Press/Media Coverage
- http://packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.htmlThird Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.htmlExploit, Third Party Advisory, VDB Entry
- http://www.openwall.com/lists/oss-security/2024/01/24/6Mailing List
- https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314Vendor Advisory
- https://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/Exploit, Press/Media Coverage
- https://www.vicarius.io/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revealed-1Exploit, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-23897US Government Resource
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.