Xen Hypervisor Flaws Let One Malicious VM Read and Write Any Other VM's Memory
Two flaws let a malicious virtual machine read and write the memory of other virtual machines, including the one with full permissions.
Overview
Two flaws in the Xen hypervisorThe control software that divides one physical server into multiple isolated virtual machines allow a malicious guest virtual machineA software-emulated computer that runs its own operating system inside a shared physical server to read and write the memory of other VMs on the same host, including dom0. Dom0 is the VM that, by default, has full permissionsThe specific rights granted to an account or app to read, write, or run files and services and manages the others. The flaws are in grant copy, the operation Xen uses to copy data between VMs. Each VM tells Xen which of its memory pages other VMs may use, and Xen checks those permissions. To save time on a batch of copies within the same memory page, Xen reuses checks it has already made. In some cases, it did not check again when it should have, which lets a malicious guest read and write memory it does not own.
Terms in this story
- Hypervisor
- The control software that divides one physical server into multiple isolated virtual machines. Rather than encrypting dozens of virtual servers one by one, ransomware gangs now target the underlying hypervisor so they can lock every virtual machine on the host at once. Security+ objective 3.1 lists the term
- virtual machine
- A software-emulated computer that runs its own operating system inside a shared physical server. Cloud providers run dozens of customer virtual machines on one physical server, and security researchers run malware samples inside a disposable virtual machine that they can reset afterward. Security+ objective 3.1 lists the term
- permissions
- The specific rights granted to an account or app to read, write, or run files and services. When a mobile app or browser extension asks for broad permissions, such as reading every web page you visit, a malicious update can abuse those rights to steal passwords.
- Patches
- A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
- mitigation
- A defensive step or setting change that lowers the risk of a flaw before patching. When a software vendor has not finished a patch yet, its advisory often lists a mitigation such as turning off an optional feature or blocking a specific URL path at the firewall. Security+ objective 2.5 lists the term
- advisory
- An official bulletin from a vendor or agency warning users about a flaw and its fix. When a bug is patched, the vendor publishes a security advisory listing affected versions, the CVE code, the severity rating, and instructions for updating.
- CVE
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
- open-source
- Software whose source code is publicly available for anyone to inspect, use, modify, and share. Most websites and apps rely on hundreds of open-source code libraries, so a single security flaw or malicious update in a popular library can affect thousands of companies at once.
- exploit
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- operating system
- The core software on a computer or phone that manages hardware, files, memory, and running apps. Because every application relies on the operating system, a security flaw in the operating system itself affects millions of devices until users install a system update.
- configuration
- A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
- repository
- A central storage place where a software project's source code, change history, and configuration files are kept. Software teams collaborate by pushing code to a shared repository, and attackers scan public repositories for accidentally committed API keys or try to poison popular projects.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The Hacker News website. Cite the article, not this page.
Read the full article on The Hacker News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
"Patches are out, and there is no known mitigation..." Found by reading the article; these exact words are in it - Who is affected: "...a malicious guest virtual machine (VM..."
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"Xen Hypervisor Flaws Let One Malicious VM Read and Write..." Found in the headline - Security+ 3.1 Compare and contrast security implications of different architecture models.
"Xen Hypervisor Flaws Let One Malicious VM Read and..." Found in the headline - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"......the Xen hypervisor allow a malicious guest virtual machine (VM) to read and write the memory..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of virtualization technologies and virtual machine development and maintenance.
"Two flaws in the Xen hypervisor..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Determine and document software patches or the extent of releases that would harden vulnerable software.
"Patches are out, and there is no known mitigation..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role