CVE-2012-0157: Microsoft Windows - Privilege Escalation
- Cve: CVE-2012-0157
- Name: Microsoft Windows - Privilege Escalation
- Description: win32k.sys in the kernel-mode drivers 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 handle window messaging, which allows local users to gain privileges via a crafted application that calls the PostMessage function, aka "PostMessage Function Vulnerability."
- Impact: Local attackers can escalate privileges to SYSTEM, potentially taking full control of the system.
- Remediation: Apply the latest security patches and updates from Microsoft for affected Windows versions.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs local access to the system
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.4
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0136
- Epss percentile: 0.72442
- Assignee: [email protected]
- Published at: 2012-03-13T21:55:01Z
- Age in days: 5369
- Modified at: 2026-06-16T23:36:48Z
- References total: 4
- Products total: 5
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-0157
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| microsoft:windows_server_2008 | all versions, = r2 | /v1/products/microsoft/windows_server_2008 |
| microsoft:windows_7 | all versions | /v1/products/microsoft/windows_7 |
| microsoft:windows_vista | all versions | /v1/products/microsoft/windows_vista |
| microsoft:windows_xp | all versions | /v1/products/microsoft/windows_xp |
| microsoft:windows_server_2003 | all versions | /v1/products/microsoft/windows_server_2003 |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exposed hosts: 10390734
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports