In Canonical LXD before 6.8, the backup import path validates project restrictions against backup/index.yaml in the supplied tar archive but creates the instance from backup/container/backup.yaml, a separate file in the same archive that is never checked against project restrictions. An authenticated remote attacker with instance-creation permission in a restricted project can craft a backup archive where backup.yaml carries restricted settings such as security.privileged=true or raw.lxc directives, bypassing all project restriction enforcement and allowing full host compromise.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 3
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Canonical Lxd
cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*
|
4.12
|
<= 5.0.6
|
|
Canonical Lxd
cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*
|
5.21.0
|
<= 5.21.4
|
|
Canonical Lxd
cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*
|
6.0
|
<= 6.7
|