CVE-2024-31144 Details
Description
For a brief summary of Xapi terminology, see: https://xapi-project.github.io/xen-api/overview.html#object-model-overview Xapi contains functionality to backup and restore metadata about Virtual Machines and Storage Repositories (SRs). The metadata itself is stored in a Virtual Disk Image (VDI) inside an SR. This is used for two purposes; a general backup of metadata (e.g. to recover from a host failure if the filer is still good), and Portable SRs (e.g. using an external hard drive to move VMs to another host). Metadata is only restored as an explicit administrator action, but occurs in cases where the host has no information about the SR, and must locate the metadata VDI in order to retrieve the metadata. The metadata VDI is located by searching (in UUID alphanumeric order) each VDI, mounting it, and seeing if there is a suitable metadata file present. The first matching VDI is deemed to be the metadata VDI, and is restored from. In the general case, the content of VDIs are controlled by the VM owner, and should not be trusted by the host administrator. A malicious guest can manipulate its disk to appear to be a metadata backup. A guest cannot choose the UUIDs of its VDIs, but a guest with one disk has a 50% chance of sorting ahead of the legitimate metadata backup. A guest with two disks has a 75% chance, etc.
A metadata injection vulnerability has been identified in Xapi versions 1.249.x, allowing a malicious virtual machine (VM) to manipulate its disk to falsely appear as a legitimate metadata backup. This vulnerability exploits the backup and restore functionality for metadata related to Virtual Machines and Storage Repositories (SRs). The issue arises because the restoration process, which is an explicit action taken by administrators, relies on searching through VDI (Virtual Disk Image) files in a UUID alphanumeric order to locate the appropriate metadata. If a fraudulent backup is restored instead of a legitimate one, it could lead to unauthorized control over VM metadata, including VM creation, disk assignments, resource allocations, and GPU assignments.
Users can apply the provided patches to Xapi v1.249.x releases. After updating Xapi, a new metadata backup should be taken to create a VDI with a deterministic UUID. The xsa459-xsconsole.patch is also needed to maintain the existing menu options and to confirm if restoring from a prior backup is necessary.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2024/07/16/4 | CVE | Mailing ListThird Party Advisory |
| http://xenbits.xen.org/xsa/advisory-459.html | CVE | PatchVendor Advisory |
| https://xenbits.xen.org/xsa/advisory-459.html | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| xen xapi | >= 1.249.0, <= 1.249.37 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jan 8, 2026 | Initial Analysis | [email protected] |
| Apr 26, 2025 | CVE Modified | CVE |
| Feb 18, 2025 | CVE Modified | CISA-ADP |
| Feb 14, 2025 | New CVE Received | [email protected] |
| Feb 14, 2025 | CVE Modified | CVE |