CVE-2012-0217

high
Published 2012-06-12 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
8.2

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-20861 local windows_x86-64 verified
Shahriyar Jalayeri ยท 2012-08-27

Microsoft Windows Kernel - Intel x64 SYSRET (MS12-042)

Source code queued for fetch โ€” refresh in a moment.
EDB-28718 local freebsd verified
CurcolHekerLink ยท 2013-10-04

FreeBSD 9.0 - Intel SYSRET Kernel Privilege Escalation

Source code queued for fetch โ€” refresh in a moment.
EDB-46508 local freebsd_x86-64 verified
Metasploit ยท 2019-03-07

FreeBSD - Intel SYSRET Privilege Escalation (Metasploit)

Source code queued for fetch โ€” refresh in a moment.

Metasploit modules

FreeBSD Intel SYSRET Privilege Escalation
Source fetch failed: fetch_error โ€” view the original via the link above.

OS impact

freebsd FreeBSD Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
windows Windows Affected 2 releases
VersionStatusFixed in
r2 Affected โ€”
โ€” Affected โ€”
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 4.1.3~rc1+hg-20120614.a9c0a89c08f2-1
sid Fixed 4.1.3~rc1+hg-20120614.a9c0a89c08f2-1
forky Fixed 4.1.3~rc1+hg-20120614.a9c0a89c08f2-1
bullseye Fixed 4.1.3~rc1+hg-20120614.a9c0a89c08f2-1
bookworm Fixed 4.1.3~rc1+hg-20120614.a9c0a89c08f2-1

Application impact

VendorProductVersionsFixed
citrixxenserver{"endIncluding":"6.0.2"}
citrixxenserver6.0

References

CWEs

CWE-119

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.