{"schemaVersion":3,"id":"CVE-2011-2005","aliases":[],"status":"published","duplicateOf":null,"title":"Microsoft Ancillary Function Driver (afd.sys) Improper Input Validation Vulnerability","description":"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.\"","dates":{"published":"2011-10-12T01:00:00.000Z","modified":"2025-10-22T00:05:49.314Z","reserved":null,"kevAdded":["2022-03-28T00:00:00.000Z"],"kevDue":["2022-04-18T00:00:00.000Z"]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.31761,"percentile":0.98289,"severity":"high","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.22699999999999942,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.31534},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.31761,"percentile":0.98289}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.31534,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.31761,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.31761,"percentile":0.98289}]},"kev":{"state":"listed","entries":[{"source":"cisa","sourceLabel":"CISA","dateAdded":"2022-03-28T00:00:00.000Z","dueDate":"2022-04-18T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"Microsoft Ancillary Function Driver (afd.sys) Improper Input Validation Vulnerability","description":"afd.sys in the Ancillary Function Driver in Microsoft Windows does not properly validate user-mode input passed to kernel mode, which allows local users to gain privileges via a crafted application.","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2011-2005","label":"nvd.nist.gov/vuln/detail/CVE-2011-2005"}],"vendor":"Microsoft","product":"Ancillary Function Driver (afd.sys)","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}],"listedCount":1,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":true,"entry":{"source":"cisa","sourceLabel":"CISA","dateAdded":"2022-03-28T00:00:00.000Z","dueDate":"2022-04-18T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"Microsoft Ancillary Function Driver (afd.sys) Improper Input Validation Vulnerability","description":"afd.sys in the Ancillary Function Driver in Microsoft Windows does not properly validate user-mode input passed to kernel mode, which allows local users to gain privileges via a crafted application.","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2011-2005","label":"nvd.nist.gov/vuln/detail/CVE-2011-2005"}],"vendor":"Microsoft","product":"Ancillary Function Driver (afd.sys)","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"21844","name":"Microsoft Windows - 'AfdJoinLeaf' Local Privilege Escalation (MS11-080) (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/21844","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"local","platforms":["windows"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"local","platform":"windows","file":"exploits/windows/local/21844.rb","codes":["CVE-2011-2005","OSVDB-76232","MS11-080"]},"metasploit":null},{"id":"18176","name":"Microsoft Windows XP/2003 - 'afd.sys' Local Privilege Escalation (MS11-080)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/18176","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"local","platforms":["windows"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"local","platform":"windows","file":"exploits/windows/local/18176.py","codes":["CVE-2011-2005","OSVDB-76232","MS11-080"]},"metasploit":null},{"id":"MSF_EXPLOIT_WINDOWS_LOCAL_MS11_080_AFDJOINLEAF","name":"MS11-080 AfdJoinLeaf Privilege Escalation","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/windows/local/ms11_080_afdjoinleaf.rb","maturity":"poc","reliabilityScore":0.3333333333333333,"verified":false,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/windows/local/ms11_080_afdjoinleaf","rank":"200","rankName":"average","postAuth":false,"check":false,"stability":["crash-os-restarts"],"sideEffects":["ioc-in-logs","artifacts-on-disk"],"reliability":[]}}],"exploitCount":3,"weaknesses":[],"affected":[{"vendor":"microsoft","product":"windows_server_2003","name":"windows server 2003","label":"windows_server_2003","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/microsoft/windows_server_2003"},{"vendor":"microsoft","product":"windows_xp","name":"windows xp","label":"windows_xp","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/microsoft/windows_xp"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A13114","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A13114","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL","Broken Link"]},{"url":"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2011/ms11-080","label":"docs.microsoft.com/en-us/security-updates/securitybulletins/2011/ms11-080","hostname":"docs.microsoft.com","tags":["Vendor Advisory","X Refsource MS","Patch"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2011-2005","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2011-2005","hostname":"www.cisa.gov","tags":["Government Resource","US Government Resource"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2011-10-12T01:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"kev-added","date":"2022-03-28T00:00:00.000Z","label":"Added to CISA KEV","detail":"Microsoft Ancillary Function Driver (afd.sys) Improper Input Validation Vulnerability","source":"cisa"},{"kind":"kev-due","date":"2022-04-18T00:00:00.000Z","label":"CISA remediation due","detail":"Apply updates per vendor instructions.","source":"cisa"},{"kind":"modified","date":"2025-10-22T00:05:49.314Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":85,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T12:09:52.210Z","stale":false,"partial":false}}