Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Endpoint

10/30/2015
03:10 PM
Connect Directly
Twitter
LinkedIn
RSS
E-Mail
50%
50%

Xen Patches 'Worst'-Ever Virtual Machine Escape Vulnerability

Bug remained undetected for seven years and enabled complete control of host system.

One of the fundamental assumptions in virtualized computing environments is that code running in one virtual machine cannot escape its confines and directly access the host operating system and thereby other VMs running on the same physical server. Any vulnerability that enables a VM escape is considered a pretty big deal.

So news this week that a bug of precisely this nature had remained undetected for seven years in the popular Xen hypervisor is sure to prompt questions about the open source project’s security practices.

In an advisory issued yesterday, the Xen Project described the now patched vulnerability as one that could allow the administrator of a guest VM to escalate privileges and take complete control of the host system. The vulnerability gives attackers a way to bypass a mechanism in the Xen hypervisor that is designed to prevent guest VMs from making certain changes to table entries.

“The code to validate level 2 page table entries is bypassed when certain conditions are satisfied,” the Xen advisory noted. “This means that a  [guest VM] can create writeable mappings using super page mappings,” the alert said referring to a virtual memory management capability.

The issue is somewhat mitigated in situations where the host system, rather than a guest administrator, controls the guest VM, the alert noted. However, even here, it is possible for an untrusted guest administrator to trigger the flaw unless other measures are taken to prevent the guest VM from loading code into the kernel, the Xen security advisory warned.

Versions of Xen 3.4 and higher running on Intel x86 hardware are vulnerable to the flaw. Virtual machines hosted on ARM hardware are not susceptible to the threat. In addition, only guest VMs can exploit the vulnerability, Xen said.

The Xen alert attributed the discovery of the flaw to a researcher from Alibaba but provided no details on when the problem was first reported. The issue can be resolved by applying the patch publicly released this week, Xen said.

A researcher at the Qubes OS Project described the flaw as one the “worst” ever affecting Xen.  Qubes relies on Xen’s virtualization technology to implement what it describes as a security by isolation approach to OS security. Basically, the Qubes operating system is designed to let users compartmentalize their various activities, like Web browsing and banking, into separate VMs on the same machine so as to contain and limit the fallout from an attack.

“It is really shocking that such a bug has been lurking in the core of the hypervisor for so many years,” Marek Marczykowski, senior system developer at Invisible Things Lab, the developer of Qubes OS, said in a security bulletin. “In our opinion, the Xen project should rethink their coding guidelines and try to come up with practices and perhaps additional mechanisms that would not let similar flaws plague the hypervisor ever again.”

Without such mechanisms, the Xen hypervisor makes little sense to organizations that would like to use it for security sensitive tasks, Marczykowski wrote. Given the critical nature of the Xen bug, Qubes developers have uploaded the patches directly to the current code repository instead of putting them through the usual one-week patch testing process, he said.

It's not the first time that the Xen hypervisor has been the focus of unfavorable attention over security flaws. Last October, for instance, Xen disclosed a bug that affected Amazon, Rackspace, and other cloud service providers. Earlier this year, the open source project disclosed another bug in a CD-ROM driver emulation feature that also enabled a VM escape.

The number of bugs being found in Xen is worrisome, according to Marczykowski. “For a type-1 hypervisor of the age and maturity of Xen, this simply should not be happening. If it does, it suggests the development process is not prioritizing security.”

 

Jai Vijayan is a seasoned technology reporter with over 20 years of experience in IT trade journalism. He was most recently a Senior Editor at Computerworld, where he covered information security and data privacy issues for the publication. Over the course of his 20-year ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Kelly Jackson Higgins
50%
50%
Kelly Jackson Higgins,
User Rank: Strategist
12/1/2015 | 8:27:30 AM
Re: 404 error on link
@JeffM787, thanks for the catch! I just fixed that broken URL. 
JeffM787
50%
50%
JeffM787,
User Rank: Strategist
11/30/2015 | 10:26:39 AM
404 error on link
The link referenced by "Marek Marczykowski, senior system developer at Invisible Things Lab, the developer of Qubes OS, said in a security bulletin." throws a link not found (404) error.
Zero-Factor Authentication: Owning Our Data
Nick Selby, Chief Security Officer at Paxos Trust Company,  2/19/2020
44% of Security Threats Start in the Cloud
Kelly Sheridan, Staff Editor, Dark Reading,  2/19/2020
Ransomware Damage Hit $11.5B in 2019
Dark Reading Staff 2/20/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
6 Emerging Cyber Threats That Enterprises Face in 2020
This Tech Digest gives an in-depth look at six emerging cyber threats that enterprises could face in 2020. Download your copy today!
Flash Poll
How Enterprises Are Developing and Maintaining Secure Applications
How Enterprises Are Developing and Maintaining Secure Applications
The concept of application security is well known, but application security testing and remediation processes remain unbalanced. Most organizations are confident in their approach to AppSec, although others seem to have no approach at all. Read this report to find out more.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2012-0063
PUBLISHED: 2020-02-21
Insecure plugin update mechanism in tucan through 0.3.10 could allow remote attackers to perform man-in-the-middle attacks and execute arbitrary code ith the permissions of the user running tucan.
CVE-2013-3551
PUBLISHED: 2020-02-21
Kernel/Modules/AgentTicketPhone.pm in Open Ticket Request System (OTRS) 3.0.x before 3.0.20, 3.1.x before 3.1.16, and 3.2.x before 3.2.7, and OTRS ITSM 3.0.x before 3.0.8, 3.1.x before 3.1.9, and 3.2.x before 3.2.5 does not properly restrict tickets, which allows remote attackers with a valid agent ...
CVE-2013-4088
PUBLISHED: 2020-02-21
Kernel/Modules/AgentTicketWatcher.pm in Open Ticket Request System (OTRS) 3.0.x before 3.0.21, 3.1.x before 3.1.17, and 3.2.x before 3.2.8 does not properly restrict tickets, which allows remote attackers with a valid agent login to read restricted tickets via a crafted URL involving the ticket spli...
CVE-2019-19865
PUBLISHED: 2020-02-21
Atos Unify OpenScape UC Web Client 1.0 allows XSS. An attacker could exploit this by convincing an authenticated user to inject arbitrary JavaScript code in the Profile Name field. A browser would execute this stored XSS payload.
CVE-2019-19866
PUBLISHED: 2020-02-21
Atos Unify OpenScape UC Web Client 1.0 allows remote attackers to obtain sensitive information. By iterating the value of conferenceId to getMailFunction in the JSON API, one can enumerate all conferences scheduled on the platform, with their numbers and access PINs.