GHSA-Q9FC-P923-6VP7
Path traversal, crash and storage pool restriction bypass through dependent volumes in migration
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-Q9FC-P923-6VP7 divulgada · CVSS 9.9 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
When receiving an instance through migration, the names of its
dependent custom volumes and of their snapshots are taken from the
migration offer header and used as path segments without validation.
The index header sent by the source is also indexed by the position of
each volume in the offer header without checking that both lists match,
and some optional fields of the offer header were dereferenced without
checking for their presence.
The trust was not limited to the receiving side: the sending side also
accepted the peer's dependent-volume identities from the response
header without checking them against what it had offered.
Impact
A malicious migration source, such as a server a user is told to copy
or move an instance from, can have the target create a volume at an
arbitrary path on the host and fill it with attacker controlled
content, as root. This leads to full host compromise with storage pools
using the `dir` driver.
Dependent volumes received through migration were also created without
enforcing the project's `restricted.storage-pools.access`, so they
could be placed on a storage pool the project is not allowed to use.
A malicious migration target can likewise steer the source using a
response header whose dependent volumes do not match the offer.
The same peer can also crash the daemon by sending mismatched headers
or omitting optional fields.
Workarounds
Only migrate from trusted servers.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Gogithub.com/lxc/incus/v7/cmd/incusd |
Corregida | v7.6.0 | — | — |
v7.6.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/lxc/incus/security/advisories/GHSA-q9fc-p923-6vp7Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
