Horizon Alert
Summary of the vulnerability and why it matters
A vulnerability in Canonical LXD software could allow a remote attacker with specific permissions to escalate privileges to cluster administrator and potentially gain host root access. This flaw stems from an incomplete denylist in the software's project restriction settings, which fails to block certain configurations that, when manipulated, can bridge the LXD Unix socket into a virtual machine.
- Incomplete security checks in LXD software.
- Could lead to administrator and host root access.
- Confirm if LXD's restricted virtual machine features are in use.
Attack Path
How an attacker could exploit the issue
An attacker with edit permissions on a virtual machine within a restricted project could exploit a flawed access control list. This allows them to inject malicious configurations, specifically an AppArmor rule and a QEMU chardev setting, which effectively bridges the LXD Unix socket into the virtual machine. Successful exploitation grants the attacker elevated privileges, first to a cluster administrator and then to root access on the host system.
- Requires edit permissions on VM.
- Injects malicious configurations.
- Results in host root access.
Live Threat
Current exploitation, exposure, and threat context
A remote attacker with specific permissions on a virtual machine within a restricted project could inject configurations that allow them to escape the VM's confines. This could lead to unauthorized access and control over the LXD system and its underlying host.
- LXD system and host root access.
- VM configuration injection.
- Privilege escalation to host root.
Operational Fix
Recommended remediation, mitigation, and detection steps
This critical vulnerability in Canonical LXD affects systems where it's deployed, potentially impacting infrastructure, platform, and security teams. The first action should be to identify all LXD installations, determine their reachability and business criticality, and then assign ownership for remediation. Planning for updates or workarounds should be based on the assessed risk and potential impact on cluster administration and host root access.
- Assign ownership to LXD administrators.
- Verify affected LXD installations and reachability.
- Plan risk-based remediation with vendor coordination.