Exploitation Summary
EIP tracks 4 public exploits for CVE-2012-0217.
PoCs published by Metasploit, CurcolHekerLink, Shahriyar Jalayeri, including Metasploit module exploits/freebsd/local/intel_sysret_priv_esc.
AI-analyzed exploit summary This Metasploit module exploits CVE-2012-0217, a privilege escalation vulnerability in FreeBSD on 64-bit Intel processors. It leverages the SYSRET instruction to execute privileged code by triggering a general protection fault in kernel mode.
Description
The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and other products; Oracle Solaris 11 and earlier; illumos before r13724; Joyent SmartOS before 20120614T184600Z; FreeBSD before 9.0-RELEASE-p3; NetBSD 6.0 Beta and earlier; Microsoft Windows Server 2008 R2 and R2 SP1 and Windows 7 Gold and SP1; and possibly other operating systems, when running on an Intel processor, incorrectly uses the sysret path in cases where a certain address is not a canonical address, which allows local users to gain privileges via a crafted application. NOTE: because this issue is due to incorrect use of the Intel specification, it should have been split into separate identifiers; however, there was some value in preserving the original mapping of the multi-codebase coordinated-disclosure effort to a single identifier.
Exploits (4)
This Metasploit module exploits CVE-2012-0217, a privilege escalation vulnerability in FreeBSD on 64-bit Intel processors. It leverages the SYSRET instruction to execute privileged code by triggering a general protection fault in kernel mode.
This exploit leverages the SYSRET vulnerability (CVE-2012-0217) in FreeBSD 9.0 to achieve kernel privilege escalation by manipulating the Interrupt Descriptor Table (IDT) and executing arbitrary code in kernel mode.
This exploit leverages the SYSRET vulnerability in Microsoft Windows kernel (Intel/x64) to disable code signing and escalate privileges to NT SYSTEM for a specified process. It is a proof-of-concept for CVE-2012-0217, addressed in MS12-042.
This Metasploit module exploits CVE-2012-0217, a privilege escalation vulnerability in FreeBSD on 64-bit Intel processors. It leverages the SYSRET instruction to execute privileged code by triggering a general protection fault in kernel mode.