0patch has released free microfixes against PrintNightmare vulnerability such as Digi.no discussed last week. The recommendation then was to turn off the Windows Print Spooler service, which, among other things, caused you to no longer be able to print until you turned it on again.
Before the weekend, 0patch came out with a number of microfixes for the Windows versions that are vulnerable to PrintNightmare. These will remain free and available from them until Microsoft comes up with its own fix.
How it works
The microfixes work by removing the possibility that the APD_INSTALL_WARNED_DRIVER flag in dwFileCopyFlags in the AddPrinterDriverEx function can bypass an access check. It was this that made the attack in the exploitation of the vulnerability work.
The fix will remove the “install warned drivers” feature – which 0patch believes is little used and worth removing to prevent an attacker from running arbitrary code.