CVE DatabaseCVE-2011-2005
한국어 권고문 →
CVE-2011-20057.8/HIGHCISA KEV

Microsoft Windows Ancillary Function Driver (afd.sys) Local Privilege Escalation Vulnerability (CVE-2011-2005, MS11-080)

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
windows, windows_server
Published Date
2011-10-12
CVSS v3.1
7.8
HIGH
EPSS (30d)
31.8%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Microsoft Windows XP SP2/SP3 and Windows Server 2003 SP2.

Impact

Local attackers can execute arbitrary code in kernel mode and gain elevated SYSTEM privileges via a crafted application.

Mitigation

Apply the official Microsoft MS11-080 security patch, or restrict local execution privileges and isolate legacy systems.

Affected Products & Version Scope

Microsoft Windows XP SP2 and SP3, and Windows Server 2003 SP2

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

This vulnerability is addressed in the MS11-080 security bulletin. For legacy systems, verify the installation of the corresponding hotfix using the following command:

powershell
# Check if the MS11-080 patch (KB2566454) is installed
Get-HotFix -Id KB2566454

2. Temporary Workaround & Hardening Configuration

If patching is not immediately feasible, restrict local interactive login access and enforce Software Restriction Policies (SRP) to prevent unauthorized executable runs.

powershell
# Example: Restrict execution of untrusted binaries via Registry modification
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\0\Paths\{afd-prevent}' -Force
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\0\Paths\{afd-prevent}' -Name 'SaferFlags' -Value 0

3. Log Audit & IoC Verification Commands

Verify the file version of afd.sys to determine if the system remains in a vulnerable state.

powershell
# Retrieve the file version of afd.sys
$sysPath = '[Environment]::SystemDirectory\drivers\afd.sys'
(Get-Item $sysPath).VersionInfo | Select-Object FileVersion, ProductVersion
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Immediately upgrade legacy Windows XP/2003 systems to supported OS versions, or ensure MS11-080 is applied and restrict local execution vectors.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability exists in afd.sys (Ancillary Function Driver), the kernel-mode driver responsible for managing Windows socket connections. The root cause is the driver's failure to properly validate user-mode input pointers passed into kernel space, leading to an arbitrary write condition within kernel memory.

2. Exploitation Mechanics & Attack Scenario

A local attacker with low privileges executes a specially crafted application that opens a handle to the \\Device\\Afd device and issues a specific DeviceIoControl request. Because afd.sys does not validate the input buffer addresses using proper probing mechanisms, the attacker can overwrite critical kernel structures, such as the token of the calling process, to escalate privileges to NT AUTHORITY\SYSTEM.

3. Infrastructure & Business Impact

As a vulnerability listed in the CISA KEV catalog, this flaw has been actively exploited in the wild. Successful exploitation allows an attacker who has established an initial foothold to gain full administrative control over the host. This enables evasion of endpoint security controls, deployment of persistent malware, and subsequent lateral movement across the enterprise network.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2011-2005)

FAQ

Q1. How critical is CVE-2011-2005 and is it actively exploited in the wild?

CVE-2011-2005 is rated CVSS 7.8 (HIGH) with a 30-day EPSS exploitation probability of 31.8%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2011-2005?

Primary impacted vendors include microsoft across windows, windows_server. Scope summary: Microsoft Windows XP SP2 and SP3, and Windows Server 2003 SP2

Q3. What temporary mitigations or workarounds exist for CVE-2011-2005 before patching?

[Mitigation] Apply the official Microsoft MS11-080 security patch, or restrict local execution privileges and isolate legacy systems. Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2011-2005

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (microsoft)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2011-2005 Microsoft Windows Ancillary Function Driver (afd.sys) Local Privilege Escalation Vulnerability (CVE-2011-2005, MS11-080) (CVSS 7.8) - Patch & Workaround | CVE Pulse