Critical Authentication Bypass in Canonical LXD & MicroCloud (CVSS 10.0) Enables Client Impersonation
What It Is — A newly disclosed flaw in Canonical’s LXD container hypervisor and its MicroCloud management stack allows an adversary to log in to the HTTPS API as a trusted client without possessing the client’s private key. The attack chain requires two conditions: (1) the attacker can reach the target’s LXD/MicroCloud API over the network, and (2) the attacker has a copy of the victim’s public certificate. By presenting the public certificate alone, the malicious actor can convince the server that it is the legitimate client, gaining full API privileges. Once authenticated, the attacker can issue any command the client is authorized to run, including creating, modifying, or destroying virtual machines across the entire cluster.
The vulnerability has been assigned a CVSS 10.0 base score, reflecting the combination of network‑accessible exploitation, complete authentication bypass, and the potential for total cluster compromise. Canonical’s advisory (referenced in the original report) classifies the issue as critical and notes that it affects all currently supported LXD and MicroCloud releases that implement the vulnerable certificate‑validation logic. No public proof‑of‑concept code has been released, but the researcher who discovered the flaw demonstrated a working exploit against a lab‑deployed environment.
Affected Products — Canonical LXD (the container hypervisor) and MicroCloud (the lightweight edge‑cloud management platform).
Why It Matters for Trust & Control Assurance — The flaw directly violates the control objective of strong authentication and client identity verification. Organizations that rely on LXD/MicroCloud to enforce tenant isolation or to protect privileged API access must now prove that their authentication controls are defensible and auditable. Capability focus: ACCESS_CONTROLS – continuous verification of certificate‑based access and evidence collection for audit readiness.
Recommended Actions
- Inventory every LXD and MicroCloud instance in your environment and map them to your control‑assurance framework.
- Apply Canonical’s patch as soon as it is released; if a patch is not yet available, temporarily disable external API access or enforce strict network segmentation.
- Rotate all client certificates and enforce mutual TLS (mTLS) with strict certificate revocation checking.
- Enable detailed API logging and forward logs to a SIEM for real‑time detection of anomalous client impersonation attempts.
- Validate that your authentication controls satisfy the “identity verification” objective across frameworks (e.g., NIST CSF 2.0 Identify‑Protect).
Source: The Hacker News article