字号·· | 护眼
漏洞档案 · 严重

Jenkins Stapler Web 框架代码执行(CVE-2018-1000861)

CVE-2018-1000861 别名:GHSA-HHPM-5CP2-HG4X
CVSS 9.8 / 3.1 EPSS 98.3% CISA KEV 在野利用 勒索软件利用 公开 PoC · 4 Nuclei 模板
综合风险100/ 100
CVSS9.8严重
EPSS98.3%30 天利用概率
机构收录时间2018-12-10更新 2026-12-01

研判简报

概述

Jenkins 使用的 Stapler Web 框架在 stapler/core/src/main/java/org/kohsuke/stapler/MetaClass.java 中存在缺陷,攻击者可通过构造 URL 调用 Java 对象上本不应以这种方式暴露的方法,从而实现代码执行。该漏洞 CVSS 9.8,属 critical 级,且已出现在 CISA KEV 中并有勒索软件利用记录,属于现实中被活跃利用的高危入口。对外暴露 Jenkins 实例的运维与安全团队应优先关注。

严重性

CVSS 3.1 评分 9.8(AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H),综合风险分 100.0/100;EPSS 30 天利用概率 98.3%(百分位 99.9%,日期 2026-11-23)。攻击面为网络可达的 Jenkins HTTP 接口,无需认证即可尝试利用。

利用状态

截至核查日期 2026-11-24:已收录 CISA KEV(2022-02-10),KEV 要求动作期限 2022-08-10;已知存在勒索软件利用;已有公开 Nuclei 检测模板(http/cves/2018/CVE-2018-1000861.yaml);Exploit-DB/公开 PoC 共 3 条;CISA SSVC 判定 automatable=yes、exploitation=active、technical_impact=total。MITRE ATT&CK 映射为 T1190 利用面向公众的应用、T1059 命令与脚本解释器。

受影响产品

Jenkins 2.153 及更早版本、LTS 2.138.3 及更早版本,涉及 Stapler Web 框架组件(MetaClass.java)。部署形态材料未给出;参考材料中的 Nuclei 模板 CPE 标注为 jenkins jenkins LTS 分支,与官方描述存在出入,以官方记录为准。

修复版本

材料未给出具体修复版本号;官方公告见 https://jenkins.io/security/advisory/2018-12-05/#SECURITY-595,KEV 要求按厂商说明应用更新。参考材料中的 Red Hat 公告 RHBA-2019:0024 为 OpenShift Container Platform 3.11.59 的缺陷修复与增强更新,未列出与本 CVE 的直接修复条目。

缓解措施

无法立即修复时,应避免 Jenkins HTTP 接口暴露于不可信网络,通过反向代理或网络策略限制访问来源;收敛可访问 /securityRealm/、/descriptorByName/ 等路径的请求;按厂商公告应用更新(材料未给出更多替代缓解细节)。

响应步骤

  1. 盘点对外可达的 Jenkins 实例,核对版本是否落在 2.153 及更早、LTS 2.138.3 及更早区间。
  2. 使用公开 Nuclei 模板(http/cves/2018/CVE-2018-1000861.yaml)或等效手段对授权目标进行检测验证。
  3. 检查 Web 与代理日志中针对 /securityRealm/user/admin/descriptorByName/ 等构造 URL 的可疑请求。
  4. 按厂商公告升级至修复版本,并确认 KEV 要求的更新动作已落实。
  5. 对无法下线或升级的实例实施网络隔离与访问控制,并持续监控异常命令执行行为(T1059)。

参考来源

  1. https://nvd.nist.gov/vuln/detail/CVE-2018-1000861kev
  2. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-1000861.yamlexploit,nuclei
  3. https://jenkins.io/security/advisory/2018-12-05/#SECURITY-595x_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,Vendor Advisory
  4. https://access.redhat.com/errata/RHBA-2019:0024vendor-advisory,x_refsource_REDHAT,vendor-advisory,x_refsource_REDHAT,x_transfer
  5. http://www.securityfocus.com/bid/106176vdb-entry,x_refsource_BID,vdb-entry,x_refsource_BID,x_transferred,Broken Link
  6. http://packetstormsecurity.com/files/166778/Jenkins-Remote-Code-Execution.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,Third Party Advisory,VDB Entry
  7. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-1000861government-resource,US Government Resource
  8. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_multi/http/jenkins_metaprogrammingexploit,metasploit
  9. https://unit42.paloaltonetworks.com/lucifer-new-cryptojacking-and-ddos-hybrid-malware/kev
  10. https://research.checkpoint.com/2020/rudeminer-blacksquid-and-lucifer-walk-into-a-bar/kev
  11. https://cujo.com/the-sysrv-botnet-and-how-it-evolved/kev
  12. https://euvd.enisa.europa.eu/enisa/EUVD-2022-4161kev
  13. https://www.cisa.gov/known-exploited-vulnerabilities-catalogkev
  14. https://www.botconf.eu/wp-content/uploads/2022/05/Botconf2022-24-PalotayZsigovits.pdfkev
  15. https://www.ivanti.com/resources/v/doc/pr-survey-report/ransomware-quarterly-indexreport_q2-q3kev
  16. https://1665891.fs1.hubspotusercontent-na1.net/hubfs/1665891/Threat%20reports/AquaSecurity_Kinsing_Demystified_Technical_Guide.pdfkev