定番の脆弱性 › CVE-2021-34527
PrintNightmare(CVE-2021-34527)
この解説はAIを使用して作成しています。誤りを含む可能性があり、内容は保証できません。必ず公式情報をご確認ください。
公開日:
過去の事例 この記事は過去に話題になった脆弱性の解説です。現在の状況は公式情報でご確認ください。
基本情報(データから表示)
| 通称 | PrintNightmare |
|---|---|
| CVE番号 | CVE-2021-34527 |
| いつ起きたか | NVD に登録された日: 2021-07-02 KEV に追加された日: 2021-11-03 |
| 製品 | Microsoft Windows |
| 深刻度(CVSS) | 8.8 重要CVSS v3.1 NVD に登録された、他の機関(開発元など)による評価 詳細(ベクター)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| ランサムウェアでの悪用 | 悪用が確認されている |
| 弱点の種類(CWE) | CWE-269 |
何が起きた
Windowsで印刷を管理する機能「Print Spooler(印刷スプーラー)」が、強い権限が必要なファイル操作を正しく行っていない弱点がありました。悪用されると、攻撃者がSYSTEM(Windowsで最も強い権限)で好きなプログラムを実行でき、プログラムのインストール、データの閲覧・変更・削除、全権限を持つアカウントの作成ができてしまいます。NVDの評価では、ネットワーク越しに攻撃でき、攻撃者には一般利用者程度の権限が必要とされています。KEVでは、ランサムウェアの攻撃に使われたことが確認されています。
攻撃の流れ
データをもとに、AIを使用して作成した図です。実際の攻撃は、これと異なる場合があります。
誰が影響を受ける
Windowsの印刷スプーラーが動いているコンピューターが対象です。データには、Windows Server 2012、Windows Server 2016、Windows 10 バージョン1607 向けの更新が出たことが書かれていますが、影響を受けるすべてのバージョンは、このデータからは不明です。
何をすればいい
古い事例ですが、2021年7月6日以降に出た更新プログラムが適用されているか確認してください。データによると、更新に加えて、レジストリーの NoWarningNoElevationOnInstall と UpdatePromptSettings が 0 か、設定されていないことも確認が必要です(NoWarningNoElevationOnInstall を 1 にしていると、ぜい弱な状態になります)。詳しくはMicrosoftの公式情報を確認してください。
用語メモ
- 印刷スプーラー
- 印刷したいデータを一時的にためて、順番にプリンターへ送るWindowsの機能です。
- SYSTEM権限
- Windowsで、OS自身が使う最も強い権限です。この権限を奪われると、コンピューターをほぼ自由に操作されます。
- レジストリー
- Windowsの設定がまとめて保存されている場所です。
- ランサムウェア
- データを勝手に暗号化して使えなくし、元に戻す代わりに身代金を要求する不正なプログラムです。
元データ(英語)
Microsoft Windows Print Spooler Remote Code Execution Vulnerability
概要(CISA KEV)
Microsoft Windows Print Spooler contains an unspecified vulnerability due to the Windows Print Spooler service improperly performing privileged file operations. Successful exploitation allows an attacker to perform remote code execution with SYSTEM privileges. The vulnerability is also known under the moniker of PrintNightmare.
説明(NVD)
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. 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. 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 (Note: 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): HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint NoWarningNoElevationOnInstall = 0 (DWORD) or not defined (default setting) UpdatePromptSettings = 0 (DWORD) or not defined (default setting) Having NoWarningNoElevationOnInstall set to 1 makes your system vulnerable by design. 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 KB5005010: Restricting installation of new printer drivers after applying the July 6, 2021 updates. 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.