Vulnerability Details : CVE-2012-0217
Public exploit exists!
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.
Vulnerability category: Overflow
Exploit prediction scoring system (EPSS) score for CVE-2012-0217
Probability of exploitation activity in the next 30 days: 0.06%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 21 % EPSS Score History EPSS FAQ
Metasploit modules for CVE-2012-0217
-
FreeBSD Intel SYSRET Privilege Escalation
Disclosure Date: 2012-06-12First seen: 2020-04-26exploit/freebsd/local/intel_sysret_priv_escThis module exploits a vulnerability in the FreeBSD kernel, when running on 64-bit Intel processors. By design, 64-bit processors following the X86-64 specification will trigger a general protection fault (GPF) when executing a SYSRET instruction w
CVSS scores for CVE-2012-0217
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
7.2
|
HIGH | AV:L/AC:L/Au:N/C:C/I:C/A:C |
3.9
|
10.0
|
NIST |
CWE ids for CVE-2012-0217
-
The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2012-0217
-
http://lists.xen.org/archives/html/xen-announce/2012-06/msg00001.html
Xen project Mailing List
-
http://support.citrix.com/article/CTX133161
Citrix XenServer Multiple Security Updates
-
http://security.gentoo.org/glsa/glsa-201309-24.xml
Xen: Multiple vulnerabilities (GLSA 201309-24) — Gentoo security
-
http://www.debian.org/security/2012/dsa-2501
Debian -- Security Information -- DSA-2501-1 xen
-
https://www.illumos.org/issues/2873
Bug #2873: sysretq doesn't properly handle non-canonical addresses - illumos gate - illumos
-
http://lists.xen.org/archives/html/xen-devel/2012-06/msg01072.html
Xen project Mailing List
-
http://security.freebsd.org/advisories/FreeBSD-SA-12:04.sysret.asc
-
https://www.exploit-db.com/exploits/28718/
FreeBSD 9.0 - Intel SYSRET Kernel Privilege Escalation - FreeBSD local Exploit
-
http://www.oracle.com/technetwork/topics/security/cpuoct2012-1515893.html
Oracle Critical Patch Update - October 2012
-
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15596
Repository / Oval Repository
-
https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-042
Microsoft Security Bulletin MS12-042 - Important | Microsoft Docs
-
http://www.debian.org/security/2012/dsa-2508
Debian -- Security Information -- DSA-2508-1 kfreebsd-8
-
http://blog.xen.org/index.php/2012/06/13/the-intel-sysret-privilege-escalation/
-
http://blog.illumos.org/2012/06/14/illumos-vulnerability-patched/
-
http://www.mandriva.com/security/advisories?name=MDVSA-2013:150
mandriva.com
-
http://www.us-cert.gov/cas/techalerts/TA12-164A.html
Microsoft Updates for Multiple Vulnerabilities | CISAUS Government Resource
-
http://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2012-003.txt.asc
-
https://www.exploit-db.com/exploits/46508/
FreeBSD - Intel SYSRET Privilege Escalation (Metasploit) - FreeBSD_x86-64 local Exploit
-
https://bugzilla.redhat.com/show_bug.cgi?id=813428
813428 – (CVE-2012-0217) CVE-2012-0217 kernel: x86-64: avoid sysret to non-canonical address
-
http://wiki.smartos.org/display/DOC/SmartOS+Change+Log#SmartOSChangeLog-June14%2C2012
404 Not Found
-
http://smartos.org/2012/06/15/smartos-news-3/
SmartOS News: June 15, 2012 – SmartOS
-
http://www.kb.cert.org/vuls/id/649219
VU#649219 - SYSRET 64-bit operating system privilege escalation vulnerability on Intel CPU hardwareUS Government Resource
Products affected by CVE-2012-0217
- cpe:2.3:o:sun:sunos:*:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_xp:*:sp3:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_server_2003:*:sp2:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_server_2008:r2:*:x64:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_7:*:sp1:x64:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_7:*:*:x64:*:*:*:*:*
- cpe:2.3:o:netbsd:netbsd:*:beta:*:*:*:*:*:*
- cpe:2.3:a:citrix:xenserver:*:*:*:*:*:*:*:*
- cpe:2.3:a:citrix:xenserver:6.0:*:*:*:*:*:*:*
- cpe:2.3:o:xen:xen:*:*:*:*:*:*:*:*
- cpe:2.3:o:xen:xen:4.0.0:*:*:*:*:*:*:*
- cpe:2.3:o:xen:xen:4.0.4:*:*:*:*:*:*:*
- cpe:2.3:o:xen:xen:4.1.0:*:*:*:*:*:*:*
- cpe:2.3:o:xen:xen:4.0.2:*:*:*:*:*:*:*
- cpe:2.3:o:xen:xen:4.0.3:*:*:*:*:*:*:*
- cpe:2.3:o:xen:xen:4.1.1:*:*:*:*:*:*:*
- cpe:2.3:o:xen:xen:4.0.1:*:*:*:*:*:*:*
- cpe:2.3:o:illumos:illumos:*:*:*:*:*:*:*:*
- cpe:2.3:o:joyent:smartos:*:*:*:*:*:*:*:*