CVE-2024-31144
NoneCVSS
—
EPSS
0.2%
Published
Jul 17, 2024
CISA due date
—
Cloudanix analysis
A problem in backup systems lets attackers slip bad information into saved copies, which could cause trouble when those copies are used to recover data later.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Moderate
- Impact
- Data Tampering
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw permits injection of attacker-controlled metadata into backup and restore operations because of missing or insufficient validation on input data structures.
Why it matters to the business
Successful exploitation could allow tampering with backup integrity, resulting in corrupted restores, data loss, or introduction of malicious content that affects system availability and recovery processes, though low exploit likelihood reduces immediate operational urgency.
How an attack unfolds
An attacker with access to the backup interface supplies specially crafted metadata that evades validation checks; the tainted backup is later restored, causing the injected content to be processed and enabling unauthorized actions such as data manipulation or persistence.
How to fix it
Implement or enforce strict schema validation and sanitization on all metadata fields processed during backup and restore operations; apply any available vendor updates addressing input handling in these code paths.
How to confirm the fix worked
Test backup and restore functions with intentionally invalid or oversized metadata to confirm rejection; review audit logs for validation failures around metadata processing.
Typical attack path
- Gain access to backup or restore functionality
- Craft and submit malformed metadata payload
- Store the poisoned backup artifact
- Trigger or wait for a restore operation to process the payload
How to detect it
Inspect application and backup logs for rejected or anomalous metadata entries, unexpected file sizes, or restore operations initiated from untrusted sources; correlate with any failed validation events.
What your security team should do
- Prioritize patching backup/restore components once fixes are released
- Add runtime input validation rules for metadata
- Enable detailed logging of backup metadata operations for anomaly detection
- Review and restrict privileges required to initiate backups or restores
The record
[Xapi: Metadata injection attack against backup/restore functionality]
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Mageia:9 | xen | 0 | 4.17.5-1.git20251028.1.mga9 |
| Ubuntu:16.04:LTS | xen | 0 | No fix |
| Ubuntu:18.04:LTS | xen | 0 | No fix |
| Ubuntu:20.04:LTS | xen | 0 | No fix |
| Ubuntu:22.04:LTS | xen | 0 | No fix |
| Ubuntu:24.04:LTS | xen | 0 | No fix |
| Ubuntu:24.10 | xen | 0 | No fix |
| Ubuntu:25.04 | xen | 0 | No fix |
| Ubuntu:25.10 | xen | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | xen | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | xen | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | xen | 0 | No fix |
Related vulnerabilities
- CVE-2026-23553 In the context switch logic Xen attempts to skip an IBPB in the case of a vCPU returning… Also affects xen
- CVE-2025-58150 Shadow mode tracing code uses a set of per-CPU variables to avoid cumbersome parameter… Also affects xen
- CVE-2024-28956 Exposure of Sensitive Information in Shared Microarchitectural Structures during… Also affects xen
- CVE-2024-53241 In the Linux kernel, the following vulnerability has been resolved: x86/xen: don't do PV… Also affects xen
- CVE-2024-53240 In the Linux kernel, the following vulnerability has been resolved: xen/netfront: fix… Also affects xen
- CVE-2024-45818 The hypervisor contains code to accelerate VGA memory accesses for HVM guests, when the… Also affects xen
- CVE-2024-45819 PVH guests have their ACPI tables constructed by the toolstack. Also affects xen
- CVE-2024-31145 Certain PCI devices in a system might be assigned Reserved Memory Regions (specified via… Also affects xen