CVE-2024-49072 Overview
CVE-2024-49072 is an elevation of privilege vulnerability affecting the Windows Task Scheduler component. Microsoft disclosed the issue as part of its December 2024 security update cycle. The flaw allows an authenticated local attacker to elevate privileges on a vulnerable Windows host. The weakness is categorized as a heap-based buffer overflow [CWE-122] within the Task Scheduler service code path.
The vulnerability affects a wide range of Microsoft Windows client and server versions, from legacy Windows Server 2008 through Windows 11 24H2 and Windows Server 2025. Successful exploitation can grant attackers high-integrity code execution and full access to confidentiality, integrity, and availability of the host.
Critical Impact
A local, low-privileged attacker can trigger a heap-based buffer overflow in Task Scheduler to gain SYSTEM-level privileges across all supported Windows desktop and server editions.
Affected Products
- Microsoft Windows 10 (1507, 1607, 1809, 21H2, 22H2)
- Microsoft Windows 11 (22H2, 23H2, 24H2)
- Microsoft Windows Server 2008, 2012, 2016, 2019, 2022, 2022 23H2, and 2025
Discovery Timeline
- 2024-12-12 - CVE-2024-49072 published to NVD with Microsoft's coordinated December 2024 advisory
- 2025-01-08 - Last updated in NVD database
Technical Details for CVE-2024-49072
Vulnerability Analysis
CVE-2024-49072 is a heap-based buffer overflow [CWE-122] in the Windows Task Scheduler service. Task Scheduler runs as a privileged service and exposes interfaces that allow local users to create, modify, and query scheduled tasks. The vulnerability arises in how the service handles task-related data structures, where insufficient bounds checking permits a caller to write outside the bounds of a heap allocation.
An attacker with local, low-privileged access can craft input that triggers the overflow during Task Scheduler processing. Corrupting adjacent heap metadata or function pointers enables the attacker to redirect execution within the privileged service context. The end result is elevation from a standard user account to SYSTEM.
Root Cause
The root cause is improper validation of size or length values used to size a heap buffer in the Task Scheduler component. When the service copies attacker-influenced data into this buffer, it writes past the allocation boundary. This pattern of insufficient input validation against a fixed or miscalculated buffer size matches the CWE-122 classification cited in the NVD record.
Attack Vector
The attack vector is local. The attacker must already have code execution as a low-privileged user on the target Windows system, for example through a prior foothold, a malicious application, or a phishing payload. No user interaction is required beyond the attacker's own process. Exploitation does not require network access, which makes this vulnerability well suited as a second-stage privilege escalation primitive after initial access.
No public proof-of-concept exploit code is currently linked in the NVD record, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Refer to the Microsoft CVE-2024-49072 Update advisory for vendor technical details.
Detection Methods for CVE-2024-49072
Indicators of Compromise
- Unexpected child processes spawned by svchost.exe hosting the Schedule service, particularly processes running as NT AUTHORITY\SYSTEM that originate from a standard user session.
- Creation or modification of scheduled tasks under C:\Windows\System32\Tasks\ or registry keys under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\ by non-administrative users.
- Crashes or unexpected restarts of the Schedule service recorded in the System event log with faulting module references to Task Scheduler binaries.
Detection Strategies
- Monitor Windows Security event ID 4698 (scheduled task created) and 4702 (scheduled task updated) for actions performed by low-privileged accounts.
- Correlate schtasks.exe and direct ITaskService COM invocations from user processes with subsequent SYSTEM-level process creation events (event ID 4688 / Sysmon event ID 1).
- Hunt for token elevation anomalies where a process started under a standard user later executes children with integrity level System.
Monitoring Recommendations
- Enable command-line auditing and Sysmon process-creation logging on all Windows endpoints and forward to a central analytics platform.
- Track service health and crash telemetry for the Task Scheduler service across the fleet to surface exploitation attempts that destabilize the service.
- Apply behavioral detections that flag local privilege escalation chains, such as user-context processes triggering SYSTEM execution shortly after task creation.
How to Mitigate CVE-2024-49072
Immediate Actions Required
- Apply the December 2024 Microsoft security updates to all affected Windows client and server systems without delay.
- Prioritize patching of multi-user systems, terminal servers, jump hosts, and any endpoint accessible to non-administrative users.
- Audit local accounts and remove unnecessary interactive logon rights to reduce the population of users who can attempt local exploitation.
Patch Information
Microsoft released fixes for CVE-2024-49072 through the December 2024 monthly security update. Administrators should consult the Microsoft CVE-2024-49072 Update advisory for the exact KB articles applicable to each Windows version and deploy them through Windows Update, WSUS, or their preferred patch management solution.
Workarounds
- No vendor-supplied workaround is documented; patching is the supported remediation.
- Restrict the ability of standard users to create or modify scheduled tasks through Group Policy where business requirements allow.
- Enforce application control with Windows Defender Application Control or AppLocker to limit execution of untrusted binaries that could deliver the exploit payload.
# Verify that the December 2024 cumulative update is installed
wmic qfe list brief /format:table
# Example PowerShell check for installed updates
Get-HotFix | Sort-Object -Property InstalledOn -Descending | Select-Object -First 10
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
