CVE-2012-0002 microsoft: Code Injection
microsoft: no CVSS score yet. EPSS 75% estimated probability of exploitation activity in the next 30 days.
On this page
- EPSS
- 75% (unchanged from 75% a week ago; 75% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-12-03. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-94 Improper Control of Generation of Code (Code Injection)
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Ask an AI about this CVE
Show the prompt
Explain CVE-2012-0002 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-0002?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-0002?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2012-0002 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
- microsoft:windows_7
- microsoft:windows_server_2003
- microsoft:windows_server_2008
- microsoft:windows_vista
- microsoft:windows_xp
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| microsoft:windows_server_2008 | r2 |
ICS advisories (CISA)
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-12-079-01 | Microsoft Remote Desktop Protocol Memory Corruption Vulnerability | 2012-12-21 | Microsoft Windows XP Service Pack 3 (KB2621440): vers:all/*, Microsoft Windows XP Professional x64 Edition Service Pack 2 (KB2621440): vers:all/*, Microsoft Windows Server 2003 Service Pack 2 (KB2621440): vers:all/* and 15 more | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
Public exploits
- Exploit-DB Microsoft Terminal Services - Use-After-Free (UAF) (MS12-020)
- Metasploit MS12-020 Microsoft Remote Desktop Use-After-Free DoS
- Metasploit MS12-020 Microsoft Remote Desktop Checker
GitHub PoC (unverified)
Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.
- engineer-lucasmcmelo/CVE-2012-0002 0 stars, created
PoC de exploração do CVE-2012-0002 em equipamentos legados com SO já não suportados.
Detection rules
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
- Emerging Threats Open ET DOS Microsoft Remote Desktop Protocol (RDP) maxChannelIds Integer indef DoS Attempt sid 2014662
- Emerging Threats Open ET DOS Microsoft Remote Desktop Protocol (RDP) maxChannelIds Negative Integer indef DoS Attempt sid 2014663
- Emerging Threats Open ET DOS Microsoft Remote Desktop Protocol (RDP) maxChannelIds DoS Attempt Negative INT sid 2014430
- Emerging Threats Open ET DOS Microsoft Remote Desktop Protocol (RDP) maxChannelIds DoS Attempt sid 2014431
- Emerging Threats Open ET EXPLOIT Microsoft RDP Server targetParams Exploit Attempt sid 2014383
Attack patterns (CAPEC)
- CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
- CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
- CAPEC-242 Code Injection Likelihood: High · Severity: High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
References
- http://blogs.quickheal.com/remote-desktop-protocol-vulnerability-cve-2012-0002-not-dead-yet/
- http://www.securitytracker.com/id?1026790
- http://www.us-cert.gov/cas/techalerts/TA12-073A.html
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-020
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A14623