3 ms·
I think the key problem is that it's very old; almost certainly the core code dates from NT, possibly earlier. Longer analysis: https://windows-internals.com/p
by pjc50 7y ago
I think the key problem is that it's very old; almost certainly the core code dates from NT, possibly earlier.
Longer analysis: https://windows-internals.com/printdemon-cve-2020-1048/ https://windows-internals.com/printdemon-cve-2020-1048/
The core is:
a) you can set up a printer port that prints to a file
b) no admin privilege is required to do this, just a check on the ownership of the file
c) the ownership check is in the wrong place, so you can just create a port that prints to a DLL in system32
d) a second export forces Windows to load that DLL and run a specific function as SYSTEM, at which point game over