Exploit database

Vulnerability

CVE-2023-28252

Vulnerability details

Score
7.8
Severity
high

CVSS 3.1 · [email protected]

Vector string

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

Windows Common Log File System Driver Elevation of Privilege Vulnerability

NVD

Exploit source choices

12 sources
Windows Common Log File System Driver (clfs.sys) Elevation of Privilege Vulnerability
MSF-windows--local--cve_2023_28252_clfs_driverMetasploitWindows / remotePreferred

A privilege escalation vulnerability exists in the clfs.sys driver which comes installed by default on Windows 10 21H2, Windows 11 21H2 and Windows Server 20348 operating systems. The clfs.sys driver contains a function CreateLogFile that is used to create open and edit '*.blf' (base log format) files. Inside a .blf file there are multiple blocks of data which contain checksums to verify the integrity of the .blf file and to ensure the file looks and acts like a .blf file. However, these files can be edited with CreateFileA or with fopen and then modified with WriteFile or fwrite respectively in order to change the contents of the file and update their checksums accordingly. This exploit makes use to two different kinds of specially crafted .blf files that are edited using the technique mentioned above. There are multiple spray .blf files. The spray .blf files are specially crafted to initiate an out of bounds read which reads from a contiguous block of memory. The block of memory it reads from contains a read-write pipe that points to the address of the second type of .blf file - the trigger .blf file. The trigger .blf file is specially crafted read the SYSTEM token and write it in the process of the exploit to achieve the local privilege escalation. The exploits creates a controlled memory space by first looping over the CreatePipe function to to create thousands of read-write pipes (which take up 0x90 bytes of memory). It then releases a certain number of pipes from memory and calls CreateLogFile to open the pre-existing spray .blf files which when being opened fill the 0x90 byte gaps created by the deallocation of the pipes in memory, creating the controlled memory space. This is a very brief and high overview description of what the exploit is actually doing. For a more detailed and in depth analysis please refer to the following [reference](https://github.com/fortra/CVE-2023-28252).

2023-04-11cve_2023_28252_clfs_driver.rb
aneasystone/github-trending
GH-57cc0777a8d8d3714cc5a0fca8b6fd16GitHubUnofficial GitHub source

使用 Github Actions 跟踪 Github 趋势项目。

2022-08-0955 files · 213 stars
fortra/cve-2023-28252
GH-2f6304b781a7272d2bb5bd457066db67GitHubUnofficial GitHub source

fortra/cve-2023-28252 source repository

2023-06-27153 files · 186 stars
duck-sec/cve-2023-28252-compiled-exe
GH-53684505dfbb849068ce762a2f40a880GitHubUnofficial GitHub source

A modification to fortra's CVE-2023-28252 exploit, compiled to exe

2024-01-2233 files · 57 stars
afanpan/cve-2025-29824-exploit
GH-773472d120f2e7478e272506abe6a072GitHubUnofficial GitHub source

Use after free in Windows Common Log File System Driver allows an authorized attacker to elevate privileges locally.

2025-07-306 files · 22 stars
fortra/cve-2024-6768
GH-952ddf7d8604870044715c5d56a1538cGitHubUnofficial GitHub source

fortra/cve-2024-6768 source repository

2024-07-1852 files · 16 stars
joe1sn/cve_2023_28252
GH-634f0a19fc6ebf8e932152f1d1df125eGitHubUnofficial GitHub source

poc & exp for CVE-2023-28252

2026-11-0923 files · 10 stars
cvedb/awesome-cve-repo
GH-5d2d5bc79e38467342aae25328e8c9d0GitHubUnofficial GitHub source

cvedb/awesome-cve-repo source repository

2023-03-237 files · 9 stars
byt3n33dl3/clfs
GH-8c691a405c2402121bf6174b6d78aa49GitHubUnofficial GitHub source

it's a CVE-2023-28252 (Patched), but feel free to use it for check any outdated software or reseach

2024-03-2116 files · 6 stars
cvedb/top
GH-2e626f612a2d87f79d1d9385117cfa16GitHubUnofficial GitHub source

cvedb/top source repository

2023-03-1911 files · 2 stars
726232111/cve-2023-28252
GH-a865b432e55afcac0b53c276aeb49f8bGitHubUnofficial GitHub source

726232111/cve-2023-28252 source repository

2023-08-0227 files · 0 stars
calegarimindsec/htb_writeups
GH-88bc787d3cf31a034283e4071835a04fGitHubUnofficial GitHub source

My HTB Writeups

2022-09-114,346 files · 0 stars