Windows PrintNightmare Registry Exposure CVE-2021-34527 OOB Security Update RCE (July 2021)

high Nessus Plugin ID 151488


The remote Windows host is affected by a remote code execution vulnerability.


A remote command execution vulnerability exists in Windows Print Spooler service improperly performs privileged file operations. An authenticated, remote attacker can exploit this to bypass and run arbitrary code with SYSTEM privileges. The remote system is not fully secure as the point and print registry settings contain an insecure configuration in one of the following locations/keys:

- HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint
- HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint\NoWarningNoElevationOnInstall
- HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint\UpdatePromptSettings


See Vendor Advisory.

See Also

Plugin Details

Severity: High

ID: 151488

File Name: smb_nt_ms21_jul_CVE-2021-34527_reg_check.nasl

Version: 1.18

Type: local

Agent: windows

Published: 7/9/2021

Updated: 5/6/2024

Supported Sensors: Nessus

Risk Information


Risk Factor: Critical

Score: 9.8


Risk Factor: High

Base Score: 9

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2021-34527


Risk Factor: High

Base Score: 8.8

Temporal Score: 8.4

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:H/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:microsoft:windows

Required KB Items: SMB/MS_Bulletin_Checks/Possible

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/1/2021

Vulnerability Publication Date: 7/1/2021

CISA Known Exploited Vulnerability Due Dates: 7/20/2021

Exploitable With


Core Impact

Reference Information

CVE: CVE-2021-34527

IAVA: 2021-A-0299

MSFT: MS21-5004945, MS21-5004946, MS21-5004947, MS21-5004948, MS21-5004950, MS21-5004951, MS21-5004953, MS21-5004954, MS21-5004955, MS21-5004956, MS21-5004958, MS21-5004959, MS21-5004960

MSKB: 5004945, 5004946, 5004947, 5004948, 5004950, 5004951, 5004953, 5004954, 5004955, 5004956, 5004958, 5004959, 5004960