Description
The Remote Desktop Protocol (RDP) implementation in Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista SP2, Windows Server 2008 SP2, R2, and R2 SP1, and Windows 7 Gold and SP1 does not properly process packets in memory, which allows remote attackers to execute arbitrary code by sending crafted RDP packets triggering access to an object that (1) was not properly initialized or (2) is deleted, aka "Remote Desktop Protocol 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.
Metasploit 2 modules
-
MS12-020 Microsoft Remote Desktop Checker
auxiliary/scanner/rdp/ms12_020_check
-
MS12-020 Microsoft Remote Desktop Use-After-Free DoS
auxiliary/dos/windows/rdp/ms12_020_maxchannelids
Exploit-DB 1
- Microsoft Terminal Services - Use-After-Free (MS12-020) EDB-18606 · dos · Mar 16, 2012 · verified
GitHub 2 repositories
-
engineer-lucasmcmelo/CVE-2012-0002 ★ 0 · Oct 31, 2026
PoC de exploração do CVE-2012-0002 em equipamentos legados com SO já não suportados.
-
zhangkaibin0921/MS12-020-CVE-2012-0002 ★ 0 · Nov 30, 2023
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- ICSA-12-079-01 Microsoft Remote Desktop Protocol Memory Corruption Vulnerability CISA ICS & IT advisories · Jun 18, 2025
References
- oval:org.mitre.oval:def:14623 vdb-entry signature
- http://blogs.quickheal.com/remote-desktop-protocol-vulnerability-cve-2012-0002-not-dead-yet/
- MS12-020 vendor-advisory
- 1026790 vdb-entry
- TA12-073A third-party-advisory