Description
afd.sys in the Ancillary Function Driver (AFD) component in Microsoft Windows XP SP2 and SP3 and Windows Server 2003 SP1 and SP2 does not properly validate input sent from user mode to the kernel, which allows local users to gain privileges via a crafted application, as demonstrated using crafted pointers and lengths that bypass intended ProbeForRead and ProbeForWrite restrictions, aka "AFD Kernel Overwrite Vulnerability."
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Microsoft Windows XP/2003 - 'afd.sys' Local Privilege Escalation (K-plugin) (MS08-066) EDB-6757 · local · Oct 15, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 6757 exploit
- win-afd-privilege-escalation(45578) vdb-entry
- ADV-2008-2817 vdb-entry
- 20081015 Exploit for MS08-066 - AFD.sys kernel memory overwrite. mailing-list
- SSRT080143 vendor-advisory
- 31673 vdb-entry
- http://blogs.technet.com/swi/archive/2008/10/14/ms08-066-how-to-correctly-validate-and-capture-user-mode-data.aspx
- 1021053 vdb-entry
- oval:org.mitre.oval:def:5825 vdb-entry signature
- win-ms08kb956803-update(45582) vdb-entry
- TA08-288A third-party-advisory
- MS08-066 vendor-advisory
- 32261 third-party-advisory