Skip to main content

Windows afd.sys CVE-2011-2005

HIGH
2011-10-12 secure@microsoft.com
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain local access
  2. Delivery
    Deliver malicious executable
  3. Exploit
    User executes crafted application
  4. Install
    Trigger afd.sys input validation flaw
  5. C2
    Corrupt kernel memory structures
  6. Execute
    Execute payload as SYSTEM
  7. Impact
    Achieve 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.

Act Now Prioritize within 24-48h. Why: In CISA KEV with patch available.
Exploited in the wild (CISA KEV) Patch available 67.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Mar 26, 2026 - 11:17 CVSS 7.8

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

NVD PRIMARY 7.8 HIGH
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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Apr 22, 2026 - 10:43 vuln.today
v2 - CVSS changed
Added to CISA KEV
Oct 22, 2025 - 01:15 cisa
CISA KEV
PoC Detected
Oct 22, 2025 - 01:15 vuln.today
Public exploit code
Patch released
Oct 22, 2025 - 01:15 nvd
Patch available
CVE Published
Oct 12, 2011 - 02:52 nvd
HIGH 7.8

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

Threat Score
8.6/10
Composite threat intelligence
EPSS Score
67.1%
Top 1% exploitable
Threat Intel
2
1 sources
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV Yes
Public POC Yes
EPSS 67.1%
Patch available Yes
Active threat Yes
Deciding rule
In CISA KEV with patch available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Active
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Very High

Priority Score

201
Low Medium High Critical
KEV: +50
EPSS: +67
CVSS: +39
PoC: +20
Weaponized: +15
Threat intel: +10
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:o:microsoft:windows_server_2003:-:sp2:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows_xp:-:sp2:*:*:professional:*:x64:*
cpe:2.3:o:microsoft:windows_xp:-:sp3:*:*:*:*:*:*

Threat IntelligenceMISP

Threat Actors
FIN6
ATT&CK Techniques (observed)
Sources: MITRE ATT&CK, Metasploit/Nuclei

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy