{"answers":{"affected":"It affects 6 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2011-1249 exists.","fix":"No fix has been published for CVE-2011-1249 yet. Limit exposure of the affected software until one is available.","what":"CVE-2011-1249 is a high-severity vulnerability in Microsoft Windows 2003 Server, published on 16 Jun 2011. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2011-1249 and fix it if it is affected.\n\nWhat it is: CVE-2011-1249 is a high-severity vulnerability in Microsoft Windows 2003 Server, published on 16 Jun 2011. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2011-1249 exists.\n\nAffected product: Microsoft Windows 2003 Server. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2011-1249/ (Markdown: https://insights.sbomify.com/CVE-2011-1249/index.md)","id":"CVE-2011-1249","markdown":"https://insights.sbomify.com/CVE-2011-1249/index.md","name":"CVE-2011-1249","record":{"aliases":["GHSA-xh73-pg9j-32r3"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Windows OS","requires_auth":"low_privilege","summary":"Local attackers can gain elevated privileges on Windows systems by exploiting improper input validation in the Ancillary Function Driver.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"windows_2003_server","vendor":"microsoft"},{"product":"windows_7","vendor":"microsoft"},{"product":"windows_server_2003","vendor":"microsoft"},{"product":"windows_server_2008","vendor":"microsoft"},{"product":"windows_vista","vendor":"microsoft"},{"product":"windows_xp","vendor":"microsoft"}],"cvss":{"score":7.2,"severity":"high","source":"nvd","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-264","name":null}],"description":"The Ancillary Function Driver (AFD) in afd.sys in Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista SP1 and SP2, Windows Server 2008 Gold, SP2, R2, and R2 SP1, and Windows 7 Gold and SP1 does not properly validate user-mode input, which allows local users to gain privileges via a crafted application, aka \"Ancillary Function Driver Elevation of Privilege Vulnerability.\"","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2012-04-19","github_poc":3,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-07-10T19:27:23Z","kind":"github_poc","ref":"https://github.com/h3x0v3rl0rd/CVE-2011-1249","stars":1,"title":null},{"date":"2012-04-19","kind":"exploitdb","ref":"18755","stars":null,"title":"Microsoft Windows - 'afd.sys' Local Kernel (PoC) (MS11-046)"},{"date":"2016-10-18","kind":"exploitdb","ref":"40564","stars":null,"title":"Microsoft Windows (x86) - 'afd.sys' Local Privilege Escalation (MS11-046)"},{"date":"2020-05-13T04:17:48Z","kind":"github_poc","ref":"https://github.com/Madusanka99/OHTS","stars":0,"title":"Microsoft Windows - 'afd.sys' Local Kernel Privilege Escalation Exploit Report  (CVE-2011-1249)"},{"date":"2026-05-06T09:41:13Z","kind":"github_poc","ref":"https://github.com/appl3b0y/edb-40564-mingw-fix","stars":0,"title":"CVE-2011-1249 (MS11-046) AFD privilege escalation — MinGW cross-compilation fix + custom command support"}],"tier":"weaponised"},"has_fix":null,"headline":"Privilege escalation in n/a","id":"CVE-2011-1249","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"microsoft:windows_2003_server","products":["microsoft:windows_2003_server","microsoft:windows_7","microsoft:windows_server_2003","microsoft:windows_server_2008","microsoft:windows_vista","microsoft:windows_xp"],"type":"privilege_escalation","year":"2011"},"n_packages":0,"n_references":3,"next":{"headline":"Use after free in n/a","id":"CVE-2011-1250"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2011-1248"},"products":["n/a"],"published":"2011-06-16","related":[{"cvss_score":8.8,"headline":"Microsoft Windows Video ActiveX Control Remote Code Execution","id":"CVE-2008-0015","kev_date_added":"2026-02-17","published":"2009-07-07"},{"cvss_score":7.8,"headline":"Microsoft Win32k Privilege Escalation","id":"CVE-2015-1701","kev_date_added":"2022-03-03","published":"2015-04-21"},{"cvss_score":7.8,"headline":"Microsoft Windows Kernel Privilege Escalation","id":"CVE-2013-5065","kev_date_added":"2022-03-03","published":"2013-11-27"},{"cvss_score":10,"headline":"Code injection in n/a","id":"CVE-2011-1268","kev_date_added":null,"published":"2011-06-16"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2011-1868","kev_date_added":null,"published":"2011-06-16"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2011-0661","kev_date_added":null,"published":"2011-04-13"},{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2011-0654","kev_date_added":null,"published":"2011-02-16"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Local attackers can gain elevated privileges on Windows systems by exploiting improper input validation in the Ancillary Function Driver.","url":"https://insights.sbomify.com/CVE-2011-1249/"}