{"id":"CVE-2012-0217","published":"2012-06-12T22:00:00Z","modified":"2024-08-06T18:16:19Z","title":"The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.39573,"percentile":0.98647,"provenance":"source"},"cwes":[],"references":[{"url":"http://secunia.com/advisories/55082","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA12-164A.html","tags":["third-party-advisory","x_refsource_CERT"]},{"url":"http://blog.xen.org/index.php/2012/06/13/the-intel-sysret-privilege-escalation/","tags":["x_refsource_CONFIRM"]},{"url":"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-042","tags":["vendor-advisory","x_refsource_MS"]},{"url":"https://www.exploit-db.com/exploits/28718/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=813428","tags":["x_refsource_CONFIRM"]},{"url":"http://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2012-003.txt.asc","tags":["vendor-advisory","x_refsource_NETBSD"]},{"url":"http://security.gentoo.org/glsa/glsa-201309-24.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15596","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.debian.org/security/2012/dsa-2501","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://blog.illumos.org/2012/06/14/illumos-vulnerability-patched/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.illumos.org/issues/2873","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.xen.org/archives/html/xen-devel/2012-06/msg01072.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.debian.org/security/2012/dsa-2508","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://lists.xen.org/archives/html/xen-announce/2012-06/msg00001.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.oracle.com/technetwork/topics/security/cpuoct2012-1515893.html","tags":["x_refsource_CONFIRM"]},{"url":"http://support.citrix.com/article/CTX133161","tags":["x_refsource_CONFIRM"]},{"url":"https://www.exploit-db.com/exploits/46508/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://smartos.org/2012/06/15/smartos-news-3/","tags":["x_refsource_CONFIRM"]},{"url":"http://wiki.smartos.org/display/DOC/SmartOS+Change+Log#SmartOSChangeLog-June14%2C2012","tags":["x_refsource_CONFIRM"]},{"url":"http://www.kb.cert.org/vuls/id/649219","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:150","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://security.freebsd.org/advisories/FreeBSD-SA-12:04.sysret.asc","tags":["vendor-advisory","x_refsource_FREEBSD"]}],"priority":{"score":24.7,"factors":[{"name":"EPSS percentile","points":19.73},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":4,"earliest":"2012-08-27"},"metasploit":[{"name":"FreeBSD Intel SYSRET Privilege Escalation","module":"exploit/freebsd/local/intel_sysret_priv_esc","type":"exploit","disclosureDate":"2012-06-12","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/freebsd/local/intel_sysret_priv_esc.rb"}],"first":{"date":"2012-06-12","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/freebsd/local/intel_sysret_priv_esc.rb"},"provenance":"source"},"summary":{"text":"The x86-64 kernel system-call (sysret) handling in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and various other operating systems and products running on Intel processors, incorrectly takes the sysret path when an address is not canonical. A local user with the ability to run a crafted application can exploit this to gain elevated privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:43:05Z"},"euvd":{"id":"EUVD-2012-0253","exploited":false,"provenance":"source"},"exploits":[{"id":20861,"url":"https://www.exploit-db.com/exploits/20861","title":"Microsoft Windows Kernel - Intel x64 SYSRET (MS12-042)","date":"2012-08-27","verified":true,"provenance":"source"},{"id":28718,"url":"https://www.exploit-db.com/exploits/28718","title":"FreeBSD 9.0 - Intel SYSRET Kernel Privilege Escalation","date":"2013-10-04","verified":true,"provenance":"source"},{"id":46508,"url":"https://www.exploit-db.com/exploits/46508","title":"FreeBSD - Intel SYSRET Privilege Escalation (Metasploit)","date":"2019-03-07","verified":true,"provenance":"source"},{"id":46508,"url":"https://www.exploit-db.com/exploits/46508","title":"FreeBSD - Intel SYSRET Privilege Escalation (Metasploit)","date":"2019-03-07","verified":true,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/28718/","https://www.exploit-db.com/exploits/46508/"]}