NVD Vulnerability Detail
Search Exploit, PoC
CVE-2021-34527
Summary

<p>A remote code execution vulnerability exists when the Windows Print Spooler service improperly performs privileged file operations. An attacker who successfully exploited this vulnerability could run arbitrary code with SYSTEM privileges. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.</p>
<p>UPDATE July 7, 2021: The security update for Windows Server 2012, Windows Server 2016 and Windows 10, Version 1607 have been released. Please see the Security Updates table for the applicable update for your system. We recommend that you install these updates immediately. If you are unable to install these updates, see the FAQ and Workaround sections in this CVE for information on how to help protect your system from this vulnerability.</p>
<p>In addition to installing the updates, in order to secure your system, you must confirm that the following registry settings are set to 0 (zero) or are not defined (<strong>Note</strong>: These registry keys do not exist by default, and therefore are already at the secure setting.), also that your Group Policy setting are correct (see FAQ):</p>
<ul>
<li>HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint</li>
<li>NoWarningNoElevationOnInstall = 0 (DWORD) or not defined (default setting)</li>
<li>UpdatePromptSettings = 0 (DWORD) or not defined (default setting)</li>
</ul>
<p><strong>Having NoWarningNoElevationOnInstall set to 1 makes your system vulnerable by design.</strong></p>
<p>UPDATE July 6, 2021: Microsoft has completed the investigation and has released security updates to address this vulnerability. Please see the Security Updates table for the applicable update for your system. We recommend that you install these updates immediately. If you are unable to install these updates, see the FAQ and Workaround sections in this CVE for information on how to help protect your system from this vulnerability. See also <a href="https://support.microsoft.com/topic/31b91c02-05bc-4ada-a7ea-183b129578a7">KB5005010: Restricting installation of new printer drivers after applying the July 6, 2021 updates</a>.</p>
<p>Note that the security updates released on and after July 6, 2021 contain protections for CVE-2021-1675 and the additional remote code execution exploit in the Windows Print Spooler service known as “PrintNightmare”, documented in CVE-2021-34527.</p>

Publication Date July 3, 2021, 7:15 a.m.
Registration Date July 3, 2021, 10 a.m.
Last Update Nov. 21, 2024, 3:10 p.m.
CVSS3.1 : HIGH
スコア 8.8
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
CVSS2.0 : HIGH
Score 9.0
Vector AV:N/AC:L/Au:S/C:C/I:C/A:C
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 単一
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:o:microsoft:windows_server_2008:r2:sp1:*:*:*:*:x64:*
cpe:2.3:o:microsoft:windows_server_2012:r2:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_8.1:-:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_server_2008:-:sp2:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_7:-:sp1:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_rt_8.1:-:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_server_2012:-:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_server_2019:*:*:*:*:*:*:*:* 10.0.17763.2029
cpe:2.3:o:microsoft:windows_server_20h2:*:*:*:*:*:*:*:* 10.0.19042.1083
cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:*:* 10.0.17763.2029
cpe:2.3:o:microsoft:windows_10_20h2:*:*:*:*:*:*:*:* 10.0.19042.1083
cpe:2.3:o:microsoft:windows_10_1507:*:*:*:*:*:*:*:* 10.0.10240.18969
cpe:2.3:o:microsoft:windows_10_1607:*:*:*:*:*:*:*:* 10.0.14393.4470
cpe:2.3:o:microsoft:windows_server_2016:*:*:*:*:*:*:*:* 10.0.14393.4470
cpe:2.3:o:microsoft:windows_server_2022:*:*:*:*:*:*:*:* 10.0.20348.230
cpe:2.3:o:microsoft:windows_11_21h2:*:*:*:*:*:*:*:* 10.0.22000.318
cpe:2.3:o:microsoft:windows_10_21h2:*:*:*:*:*:*:*:* 10.0.19044.1415
cpe:2.3:o:microsoft:windows_11_22h2:*:*:*:*:*:*:*:* 10.0.22621.674
cpe:2.3:o:microsoft:windows_10_22h2:*:*:*:*:*:*:*:* 10.0.19045.2251
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Microsoft Windows の印刷スプーラーにリモートコード実行の脆弱性
Title Microsoft Windows の印刷スプーラーにリモートコード実行の脆弱性
Summary

Microsoft Windows の Print Spooler サービスには、RpcAddPrinterDriverEx() 関数のアクセス制限の不備に起因するリモートコード実行の脆弱性が存在します。 Print Spooler サービスは、印刷において印刷待ちを実現するためのサービスです。RpcAddPrinterDriverEx() 関数は、上記サービスでプリンタドライバのインストールに用いられます。パラメータ DRIVER_CONTAINER オブジェクトとパラメータ dwFileCopyFlags によって、インストールするプリンタドライバとファイルのコピー方法を制御しています。 認証ユーザであれば、RpcAddPrinterDriverEx() 関数を実行可能です。そのため、認証情報を取得した攻撃者は、リモートサーバ上のドライバを指定し、インストールできます。

Possible impacts 認証された遠隔の第三者によって、SYSTEM 権限で任意のコードを実行される可能性があります。
Solution

[アップデートする] <a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-34527" target="_blank">Microsoftが公開している情報</a>をもとに、最新版へアップデートしてください。 またMicrosoftは、アップデート実施後に以下の設定を実施することを推奨しています。 詳しくは、<a href="https://support.microsoft.com/ja-jp/topic/kb5005010-restricting-installation-of-new-printer-drivers-after-applying-the-july-6-2021-updates-31b91c02-05bc-4ada-a7ea-183b129578a7" target="_blank">KB5005010</a> の内容を参照ください。  * グループポリシーを使用して、<a href="https://docs.microsoft.com/ja-jp/windows-hardware/drivers/print/introduction-to-point-and-print" target="_blank">ポイント アンド プリント</a>を無効にする  * 非管理者アカウントがプリンタドライバをインストールできないよう制限する [ワークアラウンドを実施する] 次のワークアラウンドを実施することで、本脆弱性の影響を軽減することが可能です。  * Print Spooler サービスを停止し、無効にする  * グループポリシーを使用して、インバウンドからのリモート印刷を無効にする

Publication Date July 5, 2021, midnight
Registration Date July 6, 2021, 3:07 p.m.
Last Update July 8, 2021, 5:31 p.m.
Affected System
マイクロソフト
Microsoft Windows 10 
Microsoft Windows 7 
Microsoft Windows 8.1 
Microsoft Windows RT 8.1 
Microsoft Windows Server 
Microsoft Windows Server 2008 
Microsoft Windows Server 2008 R2
Microsoft Windows Server 2012 
Microsoft Windows Server 2012 R2
Microsoft Windows Server 2016 
Microsoft Windows Server 2019 
CVE (情報セキュリティ 共通脆弱性識別子)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2021年07月06日]   掲載 July 6, 2021, 11:42 a.m.
2 [2021年07月08日]
  対策:内容を更新
  ベンダ情報:マイクロソフト (Windows Print Spooler の脆弱性情報 (CVE-2021-34527) に対するセキュリティ更新プログラムの定例外での公開) を追加
  ベンダ情報:マイクロソフト (ポイント アンド プリントの概要) を追加
  ベンダ情報:マイクロソフト (KB5005010: Restricting installation of new printer drivers after applying the July 6, 2021 updates) を追加
July 8, 2021, 3:17 p.m.