Task Scheduler Elevation of Privilege Vulnerability (CVE-2016-7222)
Task Scheduler mishandled UNC paths when a user created a scheduled task, allowing a locally authenticated attacker to run arbitrary code with elevated system privileges. The update corrects how Task Scheduler handles specially crafted UNC paths.
Originally disclosed on Microsoft
Description
An elevation of privilege vulnerability exists in Task Scheduler when a user creates a task that uses UNC paths. An attacker who successfully exploited this vulnerability could run arbitrary code with elevated system privileges. To exploit the vulnerability, a locally authenticated attacker could use Windows Task Scheduler to schedule a new task with a specially crafted UNC path. This security update addresses the vulnerability by correcting how Task Scheduler handles specially crafted UNC paths.
Windows Task Scheduler
Windows Task Scheduler
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, Task Scheduler did not properly validate or handle specially crafted UNC paths when creating a task, leading to privilege elevation.
Impact
A locally authenticated attacker could run arbitrary code with elevated system privileges.
What the attacker needed
Local authenticated access to Windows
How it was found
- Log on locally to the Windows system.
- Open Windows Task Scheduler.
- Schedule a new task that uses a specially crafted UNC path.
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.
Task Scheduler is a Windows tool that runs programs automatically at set times. A UNC path is a network address like \\server\share. The bug meant that a specially crafted network path in a scheduled task could let a logged-in user run their own code with higher, system-level rights.
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.