cbcvebase.
CVE-2023-21768
published 2023-01-10

CVE-2023-21768: Windows Ancillary Function Driver for WinSock Elevation of Privilege Vulnerability

PriorityP181high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
65.42%
99.2th percentile
Windows Ancillary Function Driver for WinSock Elevation of Privilege Vulnerability

Affected

10 ranges
VendorProductVersion rangeFixed in
microsoftwindows_11
microsoftwindows_11
microsoftwindows_11_version_21h2>= 10.0.0 < 10.0.22000.145510.0.22000.1455
microsoftwindows_11_version_22h2>= 10.0.22621.0 < 10.0.22621.110510.0.22621.1105
microsoftwindows_server_2022>= 10.0.20348.0 < 10.0.20348.148710.0.20348.1487
msrcwindows_11_version_21h2_for_arm64-based_systems
msrcwindows_11_version_21h2_for_x64-based_systems
msrcwindows_11_version_22h2_for_arm64-based_systems
msrcwindows_11_version_22h2_for_x64-based_systems
msrcwindows_server_2022

Detection & IOCsextracted from sources · hover to see the quote

filenameWindows_AFD_LPE_CVE-2023-21768.exe
filenameafd.sys
processAfdNotifyRemoveIoCompletion
  • Monitor for malicious IOCTL requests sent to the AFD driver (afd.sys) from user-mode processes, which may indicate exploitation of the Write-Where primitive via AfdNotifyRemoveIoCompletion.
  • Exploit targets Windows 11 22H2 up to build 22621.963 only; detections should focus on unpatched systems at or below this build (patched by January 2023 updates KB5022291, KB5022287, KB5022303).
  • CVE-2023-21768 is included as a revert-patch example in the Windows Downdate tool; monitor for downgrade attacks that re-expose this vulnerability on otherwise patched systems.
  • ·The exploit is scoped exclusively to Windows 11 22H2 and Windows Server 2022 22H2; other Windows versions are not affected.
  • ·The Metasploit module confirms the upper build boundary: exploitation is only possible up to build 22621.963, patched by the January 2023 cumulative updates.

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vulncheck7.8HIGH
vendor_redhat8.8HIGH
vendor_msrc7.8HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.