Horizon Alert
Summary of the vulnerability and why it matters
This advisory concerns a critical vulnerability in Incus, a system for managing containers and virtual machines. The issue allows a restricted user to gain elevated privileges and potentially escape to the host system when migrating instances between cluster members, as prior versions did not properly restrict the application of user-supplied configurations. The primary concern is confirming if this technology is in use and if so, understanding the scope of exposure.
- Unrestricted configurations can allow privilege escalation.
- Restricts user actions during instance migration.
- Confirm relevance and potential exposure.
Attack Path
How an attacker could exploit the issue
An attacker with restricted access to Incus, a system container and virtual machine manager, could exploit this vulnerability by migrating an instance to another cluster member. During this migration, the system fails to properly check user-supplied configuration overrides. This oversight allows a restricted user to inject malicious configurations, such as setting `security.privileged` to true or altering `raw.lxc` settings, which can lead to escalating their access to a privileged container and subsequently escaping to the host system.
- Requires restricted project user access.
- Triggered during instance migration.
- Allows privilege escalation and host escape.
Live Threat
Current exploitation, exposure, and threat context
When Incus instances are migrated, user-supplied configuration overrides that bypass project restrictions could allow a restricted user to gain privileged container access and potentially escape to the host. This scenario is supported when the advisory's conditions for applying these overrides are met.
- Instance data and host system access.
- Migrating instances with unvalidated configurations.
- Host system compromise by a restricted user.
Operational Fix
Recommended remediation, mitigation, and detection steps
This vulnerability in Incus impacts its instance migration functionality. Application owners and platform teams responsible for managing Incus deployments should prioritize identifying all instances, assessing their reachability and business criticality, and confirming the owner of any affected systems. Subsequent remediation planning should be risk-based, potentially involving vendor coordination or temporary mitigations if immediate patching is not feasible.
- Ownership: Platform or infrastructure teams.
- Verify first: Incus deployment scope and reachability.
- Action: Plan risk-based remediation.