字号·· | 护眼
漏洞档案 · 高危

Microsoft Windows Print Spooler 远程代码执行(CVE-2021-1675)

CVE-2021-1675
CVSS 7.8 / 3.1 EPSS 85.3% CISA KEV 在野利用 勒索软件利用 公开 PoC · 41
综合风险90/ 100
CVSS7.8高危
EPSS85.3%30 天利用概率
机构收录时间2021-06-09更新 2026-12-01

研判简报

概述

Microsoft Windows Print Spooler 服务未能限制允许用户添加打印机及相关驱动程序的功能,远程已认证攻击者可借此以 SYSTEM 权限执行任意代码。攻击者通过 RpcAddPrinterDriverEx()(或更新利用中的 RpcAsyncAddPrinterDriver)指定位于远程服务器的驱动文件,使 spoolsv.exe 以 SYSTEM 权限加载任意 DLL。该漏洞利用公开且已被勒索软件使用,凡运行 Print Spooler 服务的 Windows 主机均应关注。需注意 CERT/CC 指出:Microsoft 针对 CVE-2021-1675 的更新并不能防御以 PrintNightmare 名义公开的利用,相关攻击面另由 CVE-2021-34527 覆盖。

严重性

CVSS 3.1 评分 7.8(high),综合风险分 92.26/100;EPSS 30 天利用概率 85.3%(百分位 99.7%,日期 2026-11-23)。攻击面为可经 SMB/RPC 触达的 Print Spooler 服务,远程已认证用户或本地非特权用户均可触发。

利用状态

截至核查日期 2026-11-24:已列入 CISA KEV(2021-11-03),已知遭勒索软件利用;Exploit-DB/公开 PoC 记录 41 条,Metasploit 存在对应利用模块。CISA SSVC 评估:automatable=no、exploitation=active、technical_impact=total。材料未给出 Nuclei 模板状态。

受影响产品

Microsoft Windows 的多个版本与部署形态,版本区间上界为各分支修复版本之前,包括 Windows 7/8.1、Windows 10(1507、1607、1809、1909、2004、20H1、20H2、21H1)、Windows Server 2008/2008 R2/2012/2016/2019/2004/20H2 及对应 Server Core 安装。组件为 Print Spooler(spoolsv.exe)。材料中受影响列表在 Windows Server 2012 处被截断,其余条目材料未完整给出。

修复版本

官方修复版本(结构化提取):Windows 10 1809 / Server 2019(含 Server Core)10.0.17763.1999;Windows 10 1909 10.0.18363.1621;Windows 10 21H1 10.0.19043.1052;Windows 10 2004 / Server 2004 10.0.19041.1052;Windows 10 20H2 / Server 20H2 10.0.19042.1052;Windows 10 1507 10.0.10240.18967。其余受影响分支的修复版本材料未给出。CERT/CC 指出该问题的修复由 CVE-2021-34527 的更新覆盖,且当 Point and Print 的 NoWarningNoElevationOnInstall 设为非 0 值时,相关系统按设计仍可被利用。

缓解措施

无法立即修复时可参考 Microsoft 公告中的临时措施:停止并禁用 Print Spooler 服务(Stop-Service -Name Spooler -Force;Set-Service -Name Spooler -StartupType Disabled),代价是本地与远程打印均不可用;或通过组策略禁用“Allow Print Spooler to accept client connections”以阻断远程攻击。材料中该参考页面在此处被截断,其余措施材料未给出。

响应步骤

  1. 对照上述版本区间清点 Windows 主机与服务器,确认 Print Spooler 服务是否启用。
  2. 将受影响主机升级至对应分支的官方修复版本,并同时评估 CVE-2021-34527 的修复状态。
  3. 检查 Point and Print 配置,确认 NoWarningNoElevationOnInstall 是否为非 0 值。
  4. 对暂不能打补丁的主机,按缓解措施停止/禁用 Spooler 或阻断入站远程打印连接。
  5. 排查打印相关异常驱动加载与 spoolsv.exe 行为,关注勒索软件迹象。
  6. 按 KEV 要求应用厂商更新(原期限 2021-11-17),并持续跟踪利用情报。

参考来源

  1. https://nvd.nist.gov/vuln/detail/CVE-2021-1675kev
  2. https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-1675x_refsource_MISC,x_refsource_MISC,x_transferred
  3. https://www.kb.cert.org/vuls/id/383432third-party-advisory,x_refsource_CERT-VN,third-party-advisory,x_refsource_CERT-V
  4. http://packetstormsecurity.com/files/163349/Microsoft-PrintNightmare-Proof-Of-Concept.htmlx_refsource_MISC,x_refsource_MISC,x_transferred
  5. http://packetstormsecurity.com/files/163351/PrintNightmare-Windows-Spooler-Service-Remote-Code-Execution.htmlx_refsource_MISC,x_refsource_MISC,x_transferred
  6. http://packetstormsecurity.com/files/167261/Print-Spooler-Remote-DLL-Injection.htmlx_refsource_MISC,x_refsource_MISC,x_transferred
  7. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-1675government-resource
  8. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_windows/dcerpc/cve_2021_1675_printnightmareexploit,metasploit
  9. https://www.fortinet.com/blog/threat-research/affiliates-cookbook-firsthand-peek-into-operations-and-tradecraft-of-contikev
  10. https://blog.talosintelligence.com/2021/08/vice-society-ransomware-printnightmare.htmlkev
  11. https://euvd.enisa.europa.eu/enisa/EUVD-2021-7142kev
  12. https://www.cisa.gov/known-exploited-vulnerabilities-catalogkev
  13. https://download.ahnlab.com/global/brochure/Analysis%20Report%20of%20Kimsuky%20Group.pdfkev
  14. https://www.advintel.io/post/ransomware-advisory-log4shell-exploitation-for-initial-access-lateral-movementkev
  15. https://cybersecurityworks.com/howdymanage/uploads/file/ransomware-_-2022-spotlight-report_compressed.pdfkev
  16. https://www.tenable.com/blog/contileaks-chats-reveal-over-30-vulnerabilities-used-by-conti-ransomware-affiliateskev