First published: Tue Apr 17 2012(Updated: )
On Intel CPUs sysret to non-canonical address causes a fault on the sysret instruction itself after the stack pointer is set to guest value but before the CPL is changed. Systems running on AMD CPUs are not vulnerable to this issue as sysret on AMD CPUs does not generate a fault before the CPL change. On Xen, a privileged user on a 64 bit PV guest kernel running on a 64 bit hypervisor could use this flaw to escalate privileges to that of the host. Depending on the particular guest kernel it is also possible that non-privileged guest users could also elevate their privileges to that of the host. For Red Hat Enterprise Linux guests, only privileged guest users can exploit this issue. HVM guests and 32-bit PV guests cannot be used to exploit this issue. Acknowledgements: Red Hat would like to thank the Xen project for reporting this issue. Upstream acknowledges Rafal Wojtczuk as the original reporter.
Credit: security@debian.org
Affected Software | Affected Version | How to fix |
---|---|---|
FreeBSD FreeBSD | <=9.0 | |
illumos | <=r13723 | |
Joyent SmartOS | <=20120614 | |
Xen xen-unstable | <=4.1.2 | |
Xen xen-unstable | =4.0.0 | |
Xen xen-unstable | =4.0.1 | |
Xen xen-unstable | =4.0.2 | |
Xen xen-unstable | =4.0.3 | |
Xen xen-unstable | =4.0.4 | |
Xen xen-unstable | =4.1.0 | |
Xen xen-unstable | =4.1.1 | |
Microsoft Windows 7 | ||
Microsoft Windows 7 | =sp1 | |
Microsoft Windows Server 2003 | =sp2 | |
Microsoft Windows Server 2008 Itanium | =r2 | |
Microsoft Windows XP | =sp3 | |
XenServer | <=6.0.2 | |
XenServer | =6.0 | |
NetBSD NetBSD | <=6.0 | |
Sun SunOS | <=5.11 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2012-0217 is classified as a high severity vulnerability due to its potential to allow privilege escalation on affected systems.
To fix CVE-2012-0217, apply the relevant security updates provided by your operating system or software vendor.
CVE-2012-0217 affects systems running FreeBSD up to version 9.0, various versions of Xen, Microsoft Windows systems, and several others.
No, CVE-2012-0217 is not exploitable on AMD CPUs as the sysret instruction does not generate a fault before the CPL change.
CVE-2012-0217 is a privilege escalation vulnerability that occurs due to improper handling of sysret instructions in Intel CPUs.