Windows Print Spooler Arbitrary File Write Elevation of Privilege
CVE-2020-1048 is a local elevation of privilege vulnerability in the Windows Print Spooler service. According to the provided content, the flaw exists because the Print Spooler improperly allows arbitrary writing to the file system. This unsafe file-write behavior can be abused by a local attacker to cause privileged file creation or overwrite operations in unintended locations, enabling escalation from a lower-privileged context to higher privileges on the affected Windows system. The vulnerability is distinct from CVE-2020-1070.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos.
This repository is an operational exploit for CVE-2020-1048 (PrintDemon), a privilege escalation vulnerability in the Windows Print Spooler service. The exploit consists of three main components: 1. **printDemon2system/exploit.cpp**: The main exploit orchestrator. It installs a printer driver, sets up a file port pointing to the PrintConfig.dll in the DriverStore, adds a printer, and writes a malicious DLL payload (from printConfig) to the PrintConfig.dll location. It then restarts the system to trigger the Print Spooler to load the malicious DLL as SYSTEM. 2. **printConfig/main.cpp**: The payload DLL source. When loaded by spoolsv.exe, it duplicates the SYSTEM token, adjusts the session ID to the active user, and spawns an interactive SYSTEM-level cmd.exe shell. 3. **startXpsJob/main.cpp**: A helper tool to trigger the loading of the malicious PrintConfig.dll by starting an XPS print job, which causes spoolsv.exe to load the DLL and execute the payload. The exploit is designed for local privilege escalation on Windows 10 x64 (version 1909, build 18363.418) and requires the ability to install printer drivers and restart the system. The main fingerprintable endpoints are the PrintConfig.dll file in the DriverStore and the use of cmd.exe. The exploit is not part of a framework and is a standalone operational exploit with a hardcoded payload.
This repository is a proof-of-concept (POC) exploit for CVE-2020-1048, also known as PrintDemon, which is a privilege escalation vulnerability in the Windows Print Spooler service. The exploit is implemented in C and consists of a single main code file (Source.c) and associated Visual Studio project files. The exploit works by creating a new printer port and printer, then sending a malicious DLL (such as getshell.dll) to the print spooler. The attacker must restart the spooler service or the system to trigger the loading of the DLL, which can result in SYSTEM-level code execution. The README provides usage instructions and references. The exploit is not weaponized but demonstrates the vulnerability and the attack chain. The main fingerprintable endpoints are the file path used for the port (C:\Windows\System32\ualapi.dll by default) and the DLL payload (getshell.dll).
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A Windows Print Spooler vulnerability referenced as part of updated detection logic for suspicious Print Spooler service executable file creation.
A Windows Print Spooler-related vulnerability referenced as a notable example in the context of Plug-and-Play/privilege escalation discussion.
A Windows Print Spooler related privilege escalation vulnerability referenced as part of Print Spooler exploitation detection logic.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.