module

Microsoft Spooler Local Privilege Elevation Vulnerability

Disclosed
Nov 4, 2019
Created
Sep 18, 2020

Description

This exploit leverages a file write vulnerability in the print spooler service
which will restart if stopped. Because the service cannot be stopped long
enough to remove the dll, there is no way to remove the dll once
it is loaded by the service. Essentially, on default settings, this module
adds a permanent elevated backdoor.

Authors

Yarden Shafir
Alex Ionescu
shubham0d
bwatters-r7

Platform

Windows

Architectures

x86, x64

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/windows/local/cve_2020_1048_printerdemon
msf exploit(cve_2020_1048_printerdemon) > show targets
...targets...
msf exploit(cve_2020_1048_printerdemon) > set TARGET < target-id >
msf exploit(cve_2020_1048_printerdemon) > show options
...show and set options...
msf exploit(cve_2020_1048_printerdemon) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.