Horizon Alert
Summary of the vulnerability and why it matters
This vulnerability impacts Incus, a system for managing containers and virtual machines, allowing authenticated users to potentially read or overwrite any file on the host system as root. The issue lies in how malicious images with specific metadata can interact with the instance metadata API, bypassing previous security measures. Version 7.3.0 addresses this critical concern.
- Malicious images can access host files.
- Potential for unauthorized host file access.
- Confirm Incus relevance and exposure.
Attack Path
How an attacker could exploit the issue
An authenticated user of the Incus system could exploit a vulnerability by uploading a specially crafted image. This image, containing a malicious `metadata.yaml` file, can be used to trick the instance metadata API into reading or overwriting any file on the host system with root privileges.
- Authenticated Incus user required.
- Malicious image uploaded via metadata API.
- Arbitrary host file read/write as root.
Live Threat
Current exploitation, exposure, and threat context
A malicious image containing a `metadata.yaml` symlink could allow an authenticated Incus user to read or overwrite any file on the host as root when supported by the instance metadata API.
- Host files could be read or overwritten.
- Malicious image and metadata API access.
- Full host system compromise.
Operational Fix
Recommended remediation, mitigation, and detection steps
This vulnerability in Incus impacts system container and virtual machine management, requiring attention from infrastructure and platform teams responsible for managing this technology. The first practical step is to identify all Incus deployments, assess their network reachability and criticality, and determine the accountable owner for each instance to plan remediation.
- Infrastructure and platform teams should own.
- Verify Incus deployment reachability and criticality.
- Plan and coordinate Incus version 7.3.0 upgrade.