Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2023-28252: Windows CLFS Driver Local Privilege Escalation

Published Apr 11, 2023 · Updated 2 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days24 mentions · peak 11 in a dayToday
CVSS7.8High · v3.1
EPSS7.8%95th percentile
CISA KEVYesAdded Apr 11, 2023
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2023-28252CWE-122 · Heap-based Buffer Overflow

CVE-2023-28252 is a heap-based buffer overflow and local privilege-escalation vulnerability in the Windows Common Log File System (CLFS) driver. Inconsistent metadata validation allows ClfsDecodeBlockPrivate to accept a block that ClfsEncodeBlockPrivate subsequently rejects. WriteMetadataBlock fails to check the encoding result and writes a block with a cleared checksum. Subsequent metadata processing selects an attacker-controlled shadow block and uses unverified iExtendBlock and iFlushBlock indices in ExtendMetadataBlock, enabling out-of-bounds writes and elevation to SYSTEM. The vulnerability affected supported Windows client and server releases at disclosure. It was exploited as a zero-day in Nokoyawa ransomware attacks before Microsoft released a fix on April 11, 2023.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows a low-privileged local attacker to obtain SYSTEM privileges, severely compromising host confidentiality, integrity, and availability. Elevated access can facilitate credential theft, security-control tampering, and ransomware deployment. Exploitation has been observed in Nokoyawa ransomware attacks and in a Storm-0506 intrusion that subsequently involved credential theft, lateral movement, and Black Basta deployment.

Mitigation

If you can’t patch tonight, do this now.

No vulnerability-specific workaround is identified. For detection and containment, monitor for low- or medium-integrity processes creating or manipulating CLFS base logs followed by unexpected SYSTEM-level execution, and hunt for suspicious executables importing CreateLogFile or AddLogContainer. Behavioral monitoring does not replace installing the security update.

Remediation

Patch, then assume compromise.

Apply the Microsoft security update addressing CVE-2023-28252, released on April 11, 2023, or a superseding cumulative update applicable to the installed Windows version. Specific update package identifiers and fixed build numbers are not available in the supplied vulnerability information.

Public exploits

Exploits

5 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
cve_2023_28252_clfs_driver.rbThis repository contains a single Metasploit module (Ruby file) that exploits CVE-2023-28252, a privilege escalation vulnerability in the Windows Common Log File System (clfs.sys) driver. The exploit targets Windows 10 21H2, Windows 11 21H2, and Windows Server 20348, leveraging specially crafted .blf files and memory manipulation to achieve SYSTEM privileges. The module checks for the presence of the vulnerable driver and appropriate Windows version, then injects a user-supplied Meterpreter payload via a reflective DLL. The attack vector is local, requiring an existing session on the target. The structure is typical for a Metasploit exploit: it includes metadata, a check method for vulnerability assessment, and an exploit method for payload execution. Notable fingerprintable endpoints include the clfs.sys driver path and the use of crafted .blf files. The exploit is weaponized, allowing for customizable payloads and full SYSTEM access upon success.Disclosed Apr 11, 2023 · Framework: metasploit · ruby · localWeaponizedCVE-2023-28252-Compiled-exeThis repository contains a C++ implementation of a local privilege escalation exploit for CVE-2023-28252, targeting the Windows Common Log File System (CLFS) driver (clfs.sys). The exploit is based on Fortra's original proof-of-concept and is modified to allow the user to specify an arbitrary binary to execute as SYSTEM after successful exploitation. The main code is in 'clfs_eop/clfs_eop.cpp', with supporting headers and Visual Studio project files. The exploit works by manipulating kernel memory structures via the vulnerable driver, ultimately replacing the current process token with a SYSTEM token and then executing the specified payload. The exploit is operational and can be used to run any command or binary as SYSTEM on affected Windows versions. The only fingerprintable endpoint is the path to the vulnerable driver. The repository is well-structured for building with Visual Studio and includes both source and project files.duck-sec · Disclosed Jan 22, 2024 · cpp · h · localOperationalCLFSThis repository contains a working local privilege escalation exploit for CVE-2023-28252, a vulnerability in the Microsoft Windows Common Log File System (CLFS) driver (CLFS.SYS). The main exploit logic is implemented in C++ (lib/clfs_eop.cpp and lib/clfs_eop.h), with supporting project files for Visual Studio. The exploit works by manipulating kernel memory structures via the CLFS driver to obtain a SYSTEM token, thereby elevating the attacker's privileges to SYSTEM. The code includes logic for kernel address discovery, pipe spraying, and direct system calls to achieve the exploit. The repository also includes two simple VBScript files (encrypt.vbs and decrypt.vbs) for text encoding/decoding, which are unrelated to the main exploit. The exploit targets multiple versions of Windows 10, Windows 11, and Windows Server (2016, 2019, 2022) as specified in the header comments. The attack vector is local, requiring the attacker to execute code on the target system. The main fingerprintable endpoint is the CLFS.SYS driver file. The exploit is operational and provides SYSTEM-level access if successful.byt3n33dl3 · Disclosed Mar 21, 2024 · c++ · vbscript · localOperationalCVE_2023_28252The supplied repository is a standalone C++17 implementation of CVE-2023-28252 targeting the Windows Common Log File System driver. It contains 20 files, including 16 C++ source/header files, a CMake build definition, README, MIT license, and gitignore. No recognized exploit framework is used. src/main.cpp directly invokes CVE_2023_28252::PoC(). Despite its name, PoC contains a full token-replacement and shell-launch sequence rather than detection alone. exp.cpp exposes a separate EXP routine with a substantially similar visible exploitation flow. def.cpp/def.hpp provide randomized filenames, BLF crafting, CRC32 repair, and address-resolution helpers. clfs_types.h supplies reverse-engineered CLFS structures. poc.cpp additionally includes a BLF inspection routine. include/common and src/common contain environment checks, kernel/handle/pool information utilities, version-specific offsets, and reusable shellcode arrays. The gadget and shellcode .cpp files are effectively namespace stubs; their definitions are mainly in headers. The visible flow creates local BLF files and CLFS containers, modifies control/base metadata, repairs checksums, and reopens the crafted logs to reach the vulnerable kernel path. The crafting code explicitly marks an out-of-range shadow control-record iFlushBlock value as the vulnerability trigger. Native system-information queries identify CLFS allocations and kernel object addresses. The subsequent flow uses victim pipe operations through NtFsControlFile, including control code 0x110038, to obtain a SYSTEM token value and then target the current process token field. The final hardcoded payload is system("cmd.exe"). Selected memory values are restored after the shell returns; comprehensive cleanup is not demonstrated. The implementation is tied to Windows 11 build 22621.1105 through hardcoded offsets, including the EPROCESS token offset. Other Windows-build constants in gadget.hpp are reusable support data, not evidence that this exploit supports those versions. The README's Windows-11-only statement should likewise be understood as a claim about this reproduction, not the complete affected-product scope of the CVE. The unused environment helper compares UBR against the requested revision divided by 1000, which is inconsistent with an exact revision check, and its architecture check also accepts ARM64 despite the exploit's x64-specific assumptions. No network communication, callback address, exfiltration, or persistence is visible. Runtime observables are primarily randomized files under C:\Users\Public\, CLFS LOG: identifiers, native module queries, pipe control operations, and cmd.exe execution. URLs appear only as documentation or attribution. Several important files are truncated in the supplied content, so the complete exploitation chain and buildability cannot be independently confirmed. The code is consistent with a genuine local privilege-escalation implementation, but it was not executed. Repository URL, git reference, archive location, and archive size were not supplied; empty metadata strings and size 0 represent unavailable information.Joe1sn · Disclosed Nov 9, 2026 · cpp · local · fileOperationalCVE-2023-28252This repository contains a functional local privilege escalation exploit for CVE-2023-28252, a vulnerability in the Windows Common Log File System (CLFS) driver (CLFS.sys). The exploit is implemented in C++ and is designed to run on Windows 10/11 (21H2/22H2) and Windows Server 2022 with vulnerable versions of CLFS.sys. The exploit works by crafting and manipulating .blf log files and leveraging kernel memory operations to overwrite the process token, thereby granting SYSTEM privileges to the attacker. The main entry point is 'clfs_eop/clfs_eop.cpp', which orchestrates the environment setup, kernel address discovery, file crafting, and the actual privilege escalation. The exploit does not require network access and must be executed locally. The repository includes supporting headers and Visual Studio project files, but the core logic resides in the C++ source files. No external endpoints are targeted; the attack is purely local, focusing on the CLFS.sys driver and associated log files.fortra · Disclosed Jun 27, 2023 · c++ · localPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationWindows 10 1507operating_system
Microsoft CorporationWindows 10 1607operating_system
Microsoft CorporationWindows 10 1809operating_system
Microsoft CorporationWindows 10 20h2operating_system
Microsoft CorporationWindows 10 21h2operating_system
Microsoft CorporationWindows 10 22h2operating_system
Microsoft CorporationWindows 11 21h2operating_system
Microsoft CorporationWindows 11 22h2operating_system
Microsoft CorporationWindows Server 2008operating_system
Microsoft CorporationWindows Server 2008 R2operating_system
Microsoft CorporationWindows Server 2008 Sp2operating_system
Microsoft CorporationWindows Server 2012operating_system
Microsoft CorporationWindows Server 2012 R2operating_system
Microsoft CorporationWindows Server 2016operating_system
Microsoft CorporationWindows Server 2019operating_system
Microsoft CorporationWindows Server 2022operating_system
FAQ

Frequently asked questions

Is CVE-2023-28252 exploited in the wild?
Yes. As of Nov 26, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Apr 11, 2023.
Is there a public exploit for CVE-2023-28252?
Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2023-28252, the earliest disclosed Apr 11, 2023.
Is there a patch for CVE-2023-28252?
Apply the Microsoft security update addressing CVE-2023-28252, released on April 11, 2023, or a superseding cumulative update applicable to the installed Windows version. Specific update package identifiers and fixed build numbers are not available in the supplied vulnerability information.
What products are affected by CVE-2023-28252?
Microsoft Corporation Windows 10 1507, Microsoft Corporation Windows 10 1607, Microsoft Corporation Windows 10 1809, Microsoft Corporation Windows 10 20h2, Microsoft Corporation Windows 10 21h2, and 11 more.
How severe is CVE-2023-28252?
CVE-2023-28252 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 7.8% (95th percentile) as of Nov 26, 2026.
Activity feed

Recent activity

82 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+12 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence4Every report linking this CVE to a named adversary.
Associated malware12Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity64Community discussion across Reddit, Mastodon, and other social sources.