Exploit database

Vulnerability

CVE-2023-21768

Windows Ancillary Function Driver for WinSock Elevation of Privilege Vulnerability

Vulnerability details

Score
7.8
Severity
high

CVSS 3.1 · microsoft

Vector string

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

Description

Windows Ancillary Function Driver for WinSock Elevation of Privilege Vulnerability

CVE Program

Exploit source choices

16 sources
Ancillary Function Driver (AFD) for WinSock Elevation of Privilege
MSF-windows--local--cve_2023_21768_afd_lpeMetasploitWindows / remotePreferred

A vulnerability exists in the Windows Ancillary Function Driver for Winsock (`afd.sys`) can be leveraged by an attacker to escalate privileges to those of NT AUTHORITY\SYSTEM. Due to a flaw in `AfdNotifyRemoveIoCompletion`, it is possible to create an arbitrary kernel Write-Where primitive, which can be used to manipulate internal I/O ring structures and achieve local privilege escalation. This exploit only supports Windows 11 22H2 up to build 22621.963 (patched in January 2023 updates).

2023-01-10cve_2023_21768_afd_lpe.rb
0xsyr0/oscp
GH-1e9613ea0d155c33d16520580dbed873GitHubUnofficial GitHub source

OSCP Cheat Sheet

2021-10-2262 files · 3,887 stars
clearbluejar/ghidriff
GH-07e9a3c761365ce345fc36a4d0368e25GitHubUnofficial GitHub source

Python Command-Line Ghidra Binary Diffing Engine

2022-08-11162 files · 829 stars
aneasystone/github-trending
GH-57cc0777a8d8d3714cc5a0fca8b6fd16GitHubUnofficial GitHub source

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

2022-08-0955 files · 213 stars
samueltulach/nullmap
GH-81a1b95e26fc632ab172092758afc323GitHubUnofficial GitHub source

Using CVE-2023-21768 to manual map kernel mode driver

2023-03-1017 files · 204 stars
malwareman007/cve-2023-21768
GH-8fb6d469b1e617ce300670009e340f22GitHubUnofficial GitHub source

Windows_AFD_LPE_CVE-2023-21768

2023-03-1310 files · 69 stars
cvedb/awesome-cve-repo
GH-5d2d5bc79e38467342aae25328e8c9d0GitHubUnofficial GitHub source

cvedb/awesome-cve-repo source repository

2023-03-237 files · 9 stars
chdevsec/redphaton
GH-f38526821b6530dad5eb7b2f6b587bfeGitHubUnofficial GitHub source

Red team reconnaissance and vulnerability-testing framework with Nuclei and Metasploit integration. For authorized engagements only.

2025-08-0541 files · 4 stars
h1bana/cve-2023-21768
GH-4c0ba24f3ce36c277b563b11a99af610GitHubUnofficial GitHub source

h1bana/cve-2023-21768 source repository

2023-04-0571 files · 3 stars
cvedb/top
GH-2e626f612a2d87f79d1d9385117cfa16GitHubUnofficial GitHub source

cvedb/top source repository

2023-03-1911 files · 2 stars
ilandudnik/cve-2023-21768
GH-e4a3884cd5becde289aa30eb5e38ad36GitHubUnofficial GitHub source

Exploit implementation with IO Rings for CVE-2023-21768

2024-12-308 files · 1 stars
rosayxy/recreate-cve-2023-21768
GH-65a4fc0be97becb633230e41631b910eGitHubUnofficial GitHub source

recreating exp for cve-2023-21768.

2023-10-025 files · 1 stars
5m4r7m4x/downdatewin
GH-7625e322ccf06cf65c21ff25e7e8ff5bGitHubUnofficial GitHub source

5m4r7m4x/downdatewin source repository

2024-08-2963 files · 0 stars