{"uuid": "d64a8a67-6c16-43d1-86d7-07de2a9bcf65", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2023-21768", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/local/cve_2023_21768_afd_lpe.rb", "content": "{\"actions\": [], \"aliases\": [], \"arch\": \"x64\", \"author\": [\"chompie\", \"b33f\", \"Yarden Shafir\", \"Christophe De La Fuente\"], \"autofilter_ports\": [], \"autofilter_services\": [], \"check\": true, \"default_credential\": false, \"description\": \"A vulnerability exists in the Windows Ancillary Function Driver for Winsock\\n            (`afd.sys`) can be leveraged by an attacker to escalate privileges to those of\\n            NT AUTHORITY\\\\SYSTEM. Due to a flaw in `AfdNotifyRemoveIoCompletion`, it is\\n            possible to create an arbitrary kernel Write-Where primitive, which can be used\\n            to manipulate internal I/O ring structures and achieve local privilege\\n            escalation.\\n\\n            This exploit only supports Windows 11 22H2 up to build 22621.963 (patched in\\n            January 2023 updates).\", \"disclosure_date\": \"2023-01-10\", \"fullname\": \"exploit/windows/local/cve_2023_21768_afd_lpe\", \"is_install_path\": true, \"mod_time\": \"2026-04-22 11:58:46 +0000\", \"name\": \"Ancillary Function Driver (AFD) for WinSock Elevation of Privilege\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/windows/local/cve_2023_21768_afd_lpe.rb\", \"platform\": \"Windows\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"windows/local/cve_2023_21768_afd_lpe\", \"references\": [\"CVE-2023-21768\", \"URL-https://github.com/xforcered/Windows_LPE_AFD_CVE-2023-21768\", \"URL-https://github.com/yardenshafir/IoRingReadWritePrimitive\"], \"rport\": null, \"session_types\": [\"meterpreter\"], \"targets\": [\"Windows 11 22H2 x64\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:52:09.013286Z"}