Описание
Canonical LXD versions 4.12 through 6.7 contain an incomplete denylist in isVMLowLevelOptionForbidden (lxd/project/limits/permissions.go), which omits raw.apparmor and raw.qemu.conf from the set of keys blocked under the restricted.virtual-machines.lowlevel=block project restriction. A remote attacker with can_edit permission on a VM instance in a restricted project can inject an AppArmor rule and a QEMU chardev configuration that bridges the LXD Unix socket into the guest VM, enabling privilege escalation to LXD cluster administrator and subsequently to host root.
Пакеты
| Пакет | Статус | Версия исправления | Релиз | Тип |
|---|---|---|---|---|
| incus | fixed | 6.0.2-1 | package | |
| lxd | removed | package | ||
| lxd | end-of-life | bookworm | package |
Примечания
https://github.com/canonical/lxd/security/advisories/GHSA-fm2x-c5qw-4h6f
https://github.com/canonical/lxd/pull/17909
https://github.com/canonical/lxd/commit/2f85d3ec0a6f9c9de8c003b81591ec173d489914
https://github.com/canonical/lxd/commit/e72fee068c793fdd51633ec9a0239d81726f4f1d
Fixed by: https://github.com/lxc/incus/commit/e731940a565bd31ecad8883ea2429dcf269783f9 (v6.5.0)
Fixed by: https://github.com/lxc/incus/commit/f7f1ccbcd6fcb3ce7e87d877c718a2ba12c68fb8 (v6.0.2)
EPSS
Связанные уязвимости
Canonical LXD versions 4.12 through 6.7 contain an incomplete denylist in isVMLowLevelOptionForbidden (lxd/project/limits/permissions.go), which omits raw.apparmor and raw.qemu.conf from the set of keys blocked under the restricted.virtual-machines.lowlevel=block project restriction. A remote attacker with can_edit permission on a VM instance in a restricted project can inject an AppArmor rule and a QEMU chardev configuration that bridges the LXD Unix socket into the guest VM, enabling privilege escalation to LXD cluster administrator and subsequently to host root.
Canonical LXD versions 4.12 through 6.7 contain an incomplete denylist in isVMLowLevelOptionForbidden (lxd/project/limits/permissions.go), which omits raw.apparmor and raw.qemu.conf from the set of keys blocked under the restricted.virtual-machines.lowlevel=block project restriction. A remote attacker with can_edit permission on a VM instance in a restricted project can inject an AppArmor rule and a QEMU chardev configuration that bridges the LXD Unix socket into the guest VM, enabling privilege escalation to LXD cluster administrator and subsequently to host root.
LXD: VM lowlevel restriction bypass via raw.apparmor and raw.qemu.conf
Уязвимость функции isVMLowLevelOptionForbidden() системы управления контейнерами LXD (Linux Container Daemon), позволяющая нарушителю повысить свои привилегии
EPSS