Windows Print Spooler Elevation of Privilege Vulnerability (CVE-2016-3239)
The Windows Print Spooler service allowed arbitrary writing to the file system. An attacker who logged on could run a crafted script or application to execute code with elevated system privileges.
Originally disclosed on Microsoft
Description
An elevation of privilege vulnerability exists when the Windows Print Spooler service improperly allows arbitrary writing to the file system. An attacker who successfully exploited this vulnerability could run arbitrary code with elevated system privileges. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. To exploit this vulnerability, an attacker would have to log on to an affected system and run a specially crafted script or application. The update addresses the vulnerability by correcting how the Windows Print Spooler Component writes to the file system.
Windows Print Spooler Components
Windows Print Spooler Components
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Print Spooler service did not properly restrict where it could write files, allowing arbitrary file writes that led to privilege escalation.
Impact
An attacker could run arbitrary code with elevated system privileges, then install programs, view, change, or delete data, or create new accounts with full user rights.
What the attacker needed
Log on to an affected system
How it was found
- Log on to an affected system.
- Run a specially crafted script or application.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
The print spooler is a Windows background service that manages printing. It had a flaw that let a logged-in user write files wherever they wanted, which could be used to run their own code with the highest system rights. The update fixes how the spooler writes files.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.