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

high Nessus Plugin ID 151488

Synopsis

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

Description

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

Solution

See Vendor Advisory.

See Also

http://www.nessus.org/u?c80300b5

http://www.nessus.org/u?2cdd3bd3

https://support.microsoft.com/en-us/help/5004945

https://support.microsoft.com/en-us/help/5004946

https://support.microsoft.com/en-us/help/5004947

https://support.microsoft.com/en-us/help/5004948

https://support.microsoft.com/en-us/help/5004950

https://support.microsoft.com/en-us/help/5004951

https://support.microsoft.com/en-us/help/5004953

https://support.microsoft.com/en-us/help/5004954

https://support.microsoft.com/en-us/help/5004955

https://support.microsoft.com/en-us/help/5004956

https://support.microsoft.com/en-us/help/5004958

https://support.microsoft.com/en-us/help/5004959

https://support.microsoft.com/en-us/help/5004960

Plugin Details

Severity: High

ID: 151488

File Name: smb_nt_ms21_jul_CVE-2021-34527_reg_check.nasl

Version: 1.14

Type: local

Agent: windows

Published: 7/9/2021

Updated: 12/5/2022

Risk Information

VPR

Risk Factor: Critical

Score: 9.8

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7.8

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

Temporal Vector: E:H/RL:OF/RC:C

CVSS Score Source: CVE-2021-34527

CVSS v3

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: 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 Dates: 7/20/2021

Exploitable With

CANVAS (CANVAS)

Reference Information

CVE: CVE-2021-34527

IAVA: 2021-A-0299

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

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

CEA-ID: CEA-2021-0034