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 breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected products
- Jenkins Project / Jenkins0 β 1.606
- Jenkins Project / Jenkins2.442 β *
- Jenkins Project / Jenkins2.426.3 β 2.426.*
- Jenkins Project / Jenkins2.440.1 β 2.440.*
Exploits & PoCs
- nucleiJenkins < 2.441 - Arbitrary File Readby iamnoooob,rootxharsh,pdresearch
References
- MISChttps://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314
- MISChttps://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/
- MAILING_LISThttp://www.openwall.com/lists/oss-security/2024/01/24/6
- EXPLOIThttp://packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.html
- EXPLOIThttp://packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.html