Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain local access
-
DeliveryDeliver malicious executable
-
ExploitUser executes crafted application
-
InstallTrigger afd.sys input validation flaw
-
C2Corrupt kernel memory structures
-
ExecuteExecute payload as SYSTEM
-
ImpactAchieve full system compromise
Vulnerability Assessment
| Exploitation Conditions | Local access to a Windows XP SP2/SP3 or Server 2003 SP2 system is required (AV:L). User interaction (UI:R) must be achieved by convincing a local user to execute the attacker's crafted application - typically satisfied through social engineering (phishing emails with malicious attachments, infected USB drives, or masquerading malware as legitimate software). No authentication or special privileges are required (PR:N) meaning any local user account, including Guest or restricted accounts, can trigger the vulnerability. The system must be running an unpatched version of afd.sys - exploitation is NOT possible on systems where MS11-080 has been applied. Exploitation works against default configurations and does not require non-standard features to be enabled. The local attack vector is the primary limiting factor; remote attackers must first gain local code execution through separate vulnerabilities, credential compromise, or physical access before exploiting this privilege escalation flaw. |
| Impact | This vulnerability represents CRITICAL real-world risk despite its 2011 discovery date. Multiple risk signals align to confirm severe threat: CISA KEV status confirms active exploitation documented in real attacks, EPSS score of 67.09% (99th percentile) indicates widespread ongoing exploitation attempts, and at least two public exploits exist making weaponization trivial for any attacker. The CVSS vector (AV:L/AC:L/PR:N/UI:R) indicates local attack vector with low complexity and no authentication required, though user interaction is needed - typically satisfied by social engineering (convincing user to run malicious executable). The CVSS 7.8 score accurately reflects high impact (complete system compromise) tempered only by local access requirement and user interaction. SSVC framework analysis: Exploitation=active (KEV), Automatable=no (requires local access and UI), Technical Impact=total (full system compromise). Priority is IMMEDIATE for any organization still running Windows XP/Server 2003 systems. The only mitigating factor is that these operating systems reached end-of-life in 2014 (XP) and 2015 (Server 2003), so most organizations have migrated away, but isolated legacy systems in operational technology, embedded devices, or air-gapped environments remain at severe risk. |
| Exploit ScenarioDerived | An attacker delivers a weaponized executable to a user on a vulnerable Windows XP system via email attachment, USB drive, or compromised file share. When the user executes the malicious application (satisfying the UI:R requirement), it invokes crafted IOCTL calls or system calls to the afd.sys driver with specially formatted user-mode buffers containing malicious pointers or oversized lengths. The kernel driver processes these inputs without proper validation, triggering memory corruption that allows the attacker to overwrite kernel structures or inject shellcode into kernel address space. The exploit escalates privileges from standard user to SYSTEM (NT AUTHORITY\SYSTEM), granting complete control over the machine. The attacker can then disable antivirus, install persistent backdoors, access credential stores, or pivot to other systems on the network. Public exploits Exploit-DB 21844 and 18176 demonstrate working proof-of-concept code readily adaptable for real attacks. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 22, 2026
Local privilege escalation in Windows afd.sys (Ancillary Function Driver) allows unauthenticated local attackers to gain SYSTEM privileges on Windows XP SP2/SP3 and Server 2003 SP2 through a crafted application requiring user interaction. CISA KEV confirms active exploitation in the wild, with EPSS score at 67.09% (99th percentile) indicating extremely high real-world exploitation likelihood. Multiple public exploit codes exist (Exploit-DB 21844, 18176), making this vulnerability trivially exploitable despite its age. Microsoft released patches via MS11-080 in October 2011, but legacy systems remain vulnerable.
Earlier versions of this analysis (1)
The Ancillary Function Driver (afd.sys) in Windows XP SP2/SP3 and Server 2003 SP2 fails to properly validate user-mode data passed to kernel-mode routines, enabling local privilege escalation.
RemediationAI
Apply Microsoft Security Bulletin MS11-080 immediately via Windows Update or manual download from https://docs.microsoft.com/en-us/security-updates/securitybulletins/2011/ms11-080. The bulletin provides specific KB article numbers and replacement supersedence information for each affected platform. However, given that Windows XP and Server 2003 reached extended support end-of-life in 2014 and 2015 respectively, the STRONGLY RECOMMENDED remediation is migrating affected systems to supported operating systems (Windows 10/11 or Server 2016/2019/2022). If migration is impossible due to operational constraints, implement defense-in-depth compensating controls: restrict local logon rights to only essential administrative users through Group Policy (Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment), deploy application whitelisting via Software Restriction Policies or AppLocker to prevent execution of unauthorized binaries (mitigates social engineering delivery), enable audit logging for privilege escalation attempts (Security log Event ID 4672 for special privileges assigned to new logon), and network-isolate legacy systems from internet access and untrusted network segments. Note that compensating controls only reduce attack surface and do not eliminate the vulnerability - attackers with physical access or who compromise authorized user accounts can still exploit this flaw.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in afd.sys, the Ancillary Function Driver kernel-mode component responsible for handling Windows Sockets operations in Windows XP and Server 2003. This driver implements the AFD device (\Device\Afd) which provides an interface between user-mode Winsock2 applications and kernel-mode transport protocols. The flaw stems from insufficient validation of user-mode input buffers before processing them in kernel space, allowing attackers to corrupt kernel memory or execute arbitrary code at ring 0. The affected CPE configurations confirm impact to Windows XP Professional x64 SP2, Windows XP SP3 (all editions), and Windows Server 2003 SP2. This represents a classic kernel input validation failure where IOCTL handlers or system call interfaces trusted user-supplied pointers or buffer lengths without proper bounds checking or access verification.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionCVE.org
afd.sys in the Ancillary Function Driver in Microsoft Windows XP SP2 and SP3 and Server 2003 SP2 does not properly validate user-mode input passed to kernel mode, which allows local users to gain privileges via a crafted application, aka "Ancillary Function Driver Elevation of Privilege Vulnerability."
Executive ViewAI
CVE-2011-2005 is a local privilege escalation in Windows afd.sys affecting Windows XP and Server 2003 that is confirmed actively exploited (CISA KEV) with publicly available exploit code and an EPSS score in the 99th percentile. Organizations running these legacy operating systems face critical risk of complete system compromise if users interact with malicious applications, as attackers can escalate from local user to SYSTEM privileges. Immediate inventory and remediation of affected systems is essential to prevent active exploitation.
If patching is not immediately feasible: (1) restrict user rights via Group Policy to prevent execution of untrusted applications; (2) implement application whitelisting (AppLocker on Server 2003; Software Restriction Policy on XP); (3) disable Guest and standard user accounts where possible, restricting to administrator-approved tasks only; (4) isolate affected systems to air-gapped networks or DMZ with strict access controls; (5) monitor event logs for afd.sys exploitation attempts. However, these controls are interim only-apply Microsoft MS11-080 patch immediately as the definitive remediation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
NVD
CVE.org
CISA KEV
EPSS
Exploit-DB
VulDB
GitHub PoC