nday
CVE-2011-2005

Microsoft Ancillary Function Driver (afd.sys) Improper Input Validation Vulnerability

Microsoft / Ancillary Function Driver (afd.sys)

Added to KEV 3,820 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 2 of 4 PoC sources: exploitdb and metasploit.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

local
AV:L in CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no authentication required
PR:N in CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
Metasploit
Metasploit modules exploit/windows/local/ms11_080_afdjoinleaf
Exploit-DB
Exploit-DB entries 18176, 21844
Windows
CPE names NVD's analysts give as vulnerable: o:microsoft:windows_xp
Windows Server
CPE names NVD's analysts give as vulnerable: o:microsoft:windows_server_2003
operating system
CPE names NVD's analysts give as vulnerable: o:microsoft:windows_server_2003, o:microsoft:windows_xpthe product type of Windows and Windows Server in nday's product registry
stage
KEV
disclosed
disclosure → KEV
T+3820d KEV is date-only
cvss
7.8 HIGH v3.1
KEV due date
2022-04-18

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2011-10-12T01:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2011-11-30, date only +1 more
metasploit
ITWexploited
≤ 2022-03-28, inferred from KEV
KEVKEV
2022-03-28, date only

Summary

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

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:R
Required: a user must do something, such as open a file or click a link

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, added by the ADP CISA-ADP.

Event log

+DISdisclosed

CVE record published by microsoft. CVSS 7.8, high. CISA's SSVC assessment rates exploitation as active.

src cvelist · nday , bulk import · raw
{
  "id": 18067,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2011-2005",
  "occurred_at": "2011-10-12T01:00:00Z",
  "observed_at": "2026-11-12T15:02:49.796473Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "kev": {
      "reference": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2011-2005",
      "date_added": "2022-03-28"
    },
    "cvss": {
      "source": "adp:CISA-ADP",
      "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 7.8,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2025-02-10T19:02:58.169093Z",
      "automatable": "no",
      "exploitation": "active",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2011-10-12T01:00:00.000Z",
    "assigner_short_name": "microsoft"
  }
}
2011-11-30date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Microsoft Windows XP/2003 - 'afd.sys' Local Privilege Escalation (LPE) (MS11-080)” (EDB-18176). Verified by Exploit-DB.

src exploitdb 18176 · nday , bulk import · raw
{
  "id": 45954,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/18176",
  "occurred_at": "2011-11-30T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "18176",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/18176",
    "file": "exploits/windows/local/18176.py",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "Microsoft Windows XP/2003 - 'afd.sys' Local Privilege Escalation (LPE) (MS11-080)",
    "author": "ryujin",
    "edb_id": 18176,
    "cve_ids": [
      "CVE-2011-2005"
    ],
    "platform": "windows",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2011-11-30",
    "date_updated": "2011-11-30",
    "date_published": "2011-11-30"
  }
}
2012-10-10date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Microsoft Windows - 'AfdJoinLeaf' Local Privilege Escalation (LPE) (MS11-080) (Metasploit)” (EDB-21844). Verified by Exploit-DB.

src exploitdb 21844 · nday , bulk import · raw
{
  "id": 45710,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/21844",
  "occurred_at": "2012-10-10T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "21844",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/21844",
    "file": "exploits/windows/local/21844.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)"
    ],
    "type": "local",
    "title": "Microsoft Windows - 'AfdJoinLeaf' Local Privilege Escalation (LPE) (MS11-080) (Metasploit)",
    "author": "Metasploit",
    "edb_id": 21844,
    "cve_ids": [
      "CVE-2011-2005"
    ],
    "platform": "windows",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2012-10-10",
    "date_updated": "2012-10-10",
    "date_published": "2012-10-10"
  }
}
2022-03-28date only, from source
+KEVadded to KEV

CISA added it to the Known Exploited Vulnerabilities catalog, with a remediation deadline of 2022-04-18. Ransomware use: unknown.

src kev · nday , bulk import · raw
{
  "id": 1208,
  "type": "kev_added",
  "source": "kev",
  "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
  "occurred_at": "2022-03-28T00:00:00Z",
  "observed_at": "2026-11-12T13:53:00.018191Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cwes": [
      "CWE-264"
    ],
    "notes": "https://nvd.nist.gov/vuln/detail/CVE-2011-2005",
    "product": "Ancillary Function Driver (afd.sys)",
    "due_date": "2022-04-18",
    "precision": "day",
    "date_added": "2022-03-28",
    "vendor_project": "Microsoft",
    "forensic_triage": "No",
    "required_action": "Apply updates per vendor instructions.",
    "vulnerability_name": "Microsoft Ancillary Function Driver (afd.sys) Improper Input Validation Vulnerability",
    "known_ransomware_campaign_use": "Unknown"
  }
}
≤ 2022-03-28inferred, no direct source
~ITWexploited in the wild

No source says when exploitation began. A KEV listing means it was already happening, so only an upper bound is known. CISA's SSVC assessment rates exploitation as active.

based on kev and CISA's assessment in cvelist

time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/windows/local/ms11_080_afdjoinleaf (MS11-080 AfdJoinLeaf Privilege Escalation). The source gives no release time for the module.

src metasploit exploit/windows/local/ms11_080_afdjoinleaf · nday , bulk import · raw
{
  "id": 52754,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/local/ms11_080_afdjoinleaf.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/windows/local/ms11_080_afdjoinleaf",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/local/ms11_080_afdjoinleaf.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/windows/local/ms11_080_afdjoinleaf.rb",
    "rank": 200,
    "check": false,
    "title": "MS11-080 AfdJoinLeaf Privilege Escalation",
    "cve_ids": [
      "CVE-2011-2005"
    ],
    "fullname": "exploit/windows/local/ms11_080_afdjoinleaf",
    "rank_name": "average",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2023-05-25 12:45:30 +0000",
    "vuln_disclosure_date": "2011-11-30"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.