vendor:
Windows
by:
Google Security Research
7,2
CVSS
HIGH
Elevation of Privilege
264
CWE
Product Name: Windows
Affected Version From: Windows 8.1 Update
Affected Version To: Windows 10
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Windows 8.1 Update, Windows 7, Windows 10
2015
Windows: Task Scheduler DeleteExpiredTaskAfter File Deletion Elevation of Privilege
The Task Scheduler can be made to delete a task after it’s trigger has expired. No check is made to ensure the task file is not a junction which allows arbitrary files to be deleted by the system user leading to EoP. If a scheduled task is configured with DeleteExpiredTaskAfter setting the service will delete the task including its task file after the triggers have expired. It does the deletion in a timer callback thread but doesn’t call DeleteFile with the privileges of the task, instead running at local system. The PoC demonstrates the vulnerability deleting an arbitrary file from the system.
Mitigation:
Ensure that the task file is not a junction when deleting the task.