How to Protect Against CVE-2021-34527 – Microsoft Vulnerability PrintNightmare

By Published On: July 9th, 2021Categories: FAQs, Knowledge Base, Troubleshooting

After you deploy the Windows updates from Microsoft for the CVE-2021-34527 or “PrintNightmare” vulnerability, you are still vulnerable if you have applied a very specific Group Policy setting. “Point and Print” security is enabled by default, which means you are protected by default, but it’s probably worth verifying the state of this feature in your environment.

How to remediate CVE-2021-34257 according to Microsoft:

Step 1:

Deploy the July 2021 Monthly Rollups, or the July 2021 Security-only updates to all of your Windows endpoints.

Step 2:

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.):

  • HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint
  • NoWarningNoElevationOnInstall = 0 (DWORD) or not defined (default setting)
  • NoWarningNoElevationOnUpdate = 0 (DWORD) or not defined (default setting)

Having NoWarningNoElevationOnInstall set to 1 makes your system vulnerable by design.

How to change the Group Policy Management Console (GPMC):

These settings are typically controlled from the Group Policy Management Console (GPMC). To change these settings:

  1. Find any Group Policy Object (GPO) that is applying this setting.
  2. In the Group Policy Management Editor window, click Computer Configuration, click Policies, click Administrative Templates, and then click Printers.
  3. Right-click Point and Print Restrictions, and then click Edit.
  4. Ensure the elevation prompts are enabled.

If you are affected by CVE-2021-34527, rather than using Aiden to deploy a remediation script, we recommend you update any affected GPO, because Group Policy will override any change we make the next time a full policy evaluation is performed.

To quickly find the applicable GPOs:

  1. Log on to a computer which has the PointAndPrint policy applied, as described by Microsoft above.
  2. Open an elevated command prompt.
  3. Run the following command: gpresult /scope computer /r /z
  4. Press Ctrl-F to search the results for: PointAndPrint
  5. The name of the GPO will be displayed as “GPO: <Name of GPO>”

Protecting Against PrintNightmare

More from Microsoft:

Have any questions on how to remediate the Microsoft CVE-2021-34527 vulnerability? Please contact us and we’d be happy to help!

Search All Resources:

Join the IT-security paradigm shift!

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Share This Story, Choose Your Platform!

Get Updates Right In Your Inbox

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Leave a Comment

For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.