问题所在
Jenkins 未禁用将 '@' 字符后跟文件路径替换为该文件内容的 CLI 解析器功能。未身份验证的攻击者可以利用此行为读取 Jenkins 控制器文件系统上的任意文件。
影响范围
此问题影响 Jenkins 2.441 及更早版本,以及 LTS 2.426.2 及更早版本。
应对措施
将 Jenkins 升级至 2.442 版本或 LTS 2.426.3 版本。如果无法立即升级,请根据供应商指南采取缓解措施。
原始描述
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.
已知被利用(CISA KEV)
- 加入 KEV 日期
- 2024-08-19
- 修复期限(美国联邦机构)
- 2024-09-09
- 用于勒索软件
- Known
- 要求采取的措施
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
受影响的软件
- Jenkins < 2.442< 2.426.3 修复版本: 2.442, 2.426.3 精确匹配
详情
- 发布日期
- 2024-01-24
- 最后修改
- 2026-06-17
- CVSS 向量
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-22, CWE-27
- EPSS(30 天内被利用概率)
- 100.00% (百分位 100)
参考资料
- cve.org/CVE-2024-23897
- nvd.nist.gov/vuln/detail/CVE-2024-23897
- packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.html
- packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.html
- www.openwall.com/lists/oss-security/2024/01/24/6
- www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314
- www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-...
- www.vicarius.io/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revea...
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-23897
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。