Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-21310 Overview
CVE-2024-21310 is an elevation of privilege vulnerability in the Windows Cloud Files Mini Filter Driver (cldflt.sys). The flaw affects multiple supported versions of Windows 10, Windows 11, and Windows Server. A local, authenticated attacker who successfully exploits the issue can elevate privileges to SYSTEM, gaining full control of the host. Microsoft addressed the issue in the January 2024 security updates.
The weakness is tracked under CWE-197: Numeric Truncation Error, indicating that a value is truncated during conversion between integer types inside the driver, leading to incorrect memory handling at the kernel boundary.
Critical Impact
Local attackers with low-privilege accounts can obtain SYSTEM-level code execution on affected Windows endpoints and servers through a kernel driver flaw. EPSS places this CVE in the 96th percentile of likely-exploited vulnerabilities.
Affected Products
- Microsoft Windows 10 (1809, 21H2, 22H2)
- Microsoft Windows 11 (21H2, 22H2, 23H2)
- Microsoft Windows Server 2019 and Windows Server 2022 23H2
Discovery Timeline
- 2024-01-09 - CVE-2024-21310 published to the National Vulnerability Database by Microsoft
- 2024-01-09 - Microsoft releases security updates addressing the vulnerability (see Microsoft CVE-2024-21310 Update Guide)
- 2026-06-17 - Last updated in the NVD database
Technical Details for CVE-2024-21310
Vulnerability Analysis
The Cloud Files Mini Filter Driver (cldflt.sys) implements the kernel-mode side of the Windows Cloud Files API, which backs features like OneDrive Files On-Demand and other cloud sync providers using placeholder files. The driver mediates I/O requests between user-mode callers and reparse-point-based placeholder files that represent cloud-hosted content.
CVE-2024-21310 is classified as a numeric truncation error [CWE-197]. A value supplied or computed in a 64-bit or larger integer context is cast to a smaller integer type inside the driver, discarding the high-order bits. The truncated value is then used for subsequent length or offset calculations, breaking assumptions the driver makes about buffer bounds or object sizes within kernel memory.
Successful exploitation yields full compromise of the targeted system, with high impact to confidentiality, integrity, and availability. Because the entry point is a locally reachable kernel driver, the vulnerability is a common target for post-compromise privilege escalation after initial access through phishing, malicious documents, or stolen credentials.
Root Cause
The root cause is an unsafe integer conversion inside cldflt.sys when processing attacker-influenced input to Cloud Files operations. The truncated value feeds length or indexing logic in a privileged kernel context, enabling memory corruption or state confusion that can be steered toward arbitrary kernel execution.
Attack Vector
The attack vector is local and requires a low-privileged, authenticated session on the target host. No user interaction is required beyond executing the attacker's code. An adversary places a crafted payload or arranges inputs that trigger the vulnerable path in cldflt.sys through the Cloud Files API, then uses the resulting kernel-level primitive to replace a token or modify kernel structures to elevate to SYSTEM. Microsoft has not disclosed a public proof-of-concept, and the CVE is not listed on the CISA Known Exploited Vulnerabilities catalog as of this writing.
See the Microsoft CVE-2024-21310 Update Guide for vendor technical details.
Detection Methods for CVE-2024-21310
Indicators of Compromise
- Unexpected loads or crashes involving the cldflt.sys driver recorded in System event logs or Windows Error Reporting (WerFault) crash dumps.
- Processes running as low-privileged users spawning child processes under the NT AUTHORITY\SYSTEM context without a legitimate elevation path.
- Creation of unusual placeholder files, reparse points, or Cloud Files sync root registrations by non-standard applications.
Detection Strategies
- Hunt for process lineage anomalies where a standard-user process is followed by a SYSTEM-integrity child process on hosts running OneDrive or other Cloud Files providers.
- Correlate bugchecks referencing cldflt.sys with recent process execution telemetry to surface attempted exploitation that destabilized the driver.
- Alert on token manipulation primitives commonly used after kernel elevation, including duplication of the System process token into user-mode processes.
Monitoring Recommendations
- Ingest Windows Security, System, and Sysmon event logs centrally and retain kernel-mode driver load events for retrospective hunting.
- Monitor patch state across Windows 10, Windows 11, and Windows Server fleets to identify endpoints still exposed to the January 2024 cumulative update gap.
- Track EPSS and CISA KEV updates for CVE-2024-21310 to re-prioritize remediation if exploitation activity emerges.
How to Mitigate CVE-2024-21310
Immediate Actions Required
- Apply the January 2024 Microsoft security updates to every affected Windows 10, Windows 11, Windows Server 2019, and Windows Server 2022 23H2 host.
- Prioritize endpoints and servers where OneDrive, Azure File Sync, or third-party Cloud Files sync providers are installed, since these systems actively load cldflt.sys.
- Audit local account privileges and remove unnecessary interactive logon rights to reduce the pool of accounts that could stage local exploitation.
Patch Information
Microsoft published fixed builds for all affected products through Windows Update and the Microsoft Update Catalog on 2024-01-09. Refer to the Microsoft CVE-2024-21310 Update Guide for the specific KB article and build number per Windows version. There is no supported configuration-only fix; patching the cldflt.sys driver is required.
Workarounds
- No official vendor workaround exists. Patching is the only supported remediation.
- Where immediate patching is not possible, restrict interactive and remote logon to trusted administrators and enforce application control (for example, Windows Defender Application Control or AppLocker) to limit arbitrary code execution by standard users.
- Disable or uninstall non-essential Cloud Files sync providers on servers that do not require placeholder file functionality to reduce exposure of the cldflt.sys code path.
# Verify installed update level on Windows (PowerShell)
Get-HotFix | Sort-Object -Property InstalledOn -Descending | Select-Object -First 10
# Check whether the Cloud Files driver is loaded
fltmc filters | findstr /I cldflt
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

