Horizon Alert
Summary of the vulnerability and why it matters
A critical vulnerability exists in Incus, affecting how it handles user-provided image data. This flaw could allow attackers with limited access to execute commands with root privileges on the host system, potentially impacting sensitive data and operations. The main concern is confirming whether this technology is in use and potentially exposed.
- Insecure configuration handling can lead to root access.
- Critical flaw impacts container management systems.
- Confirm relevance and exposure for this system.
Attack Path
How an attacker could exploit the issue
An attacker who can launch instances from controlled images can manipulate Incus's configuration to inject malicious commands. This is achieved by embedding line breaks within specific configuration values, allowing the attacker to add unauthorized hooks or mount points. When the vulnerable component processes these crafted configurations, it can lead to the execution of arbitrary code with root privileges on the host system or unauthorized access to host file paths.
- Requires ability to launch instances.
- Injects directives via crafted image configurations.
- Risk of root command execution or host path access.
Live Threat
Current exploitation, exposure, and threat context
Users who can launch instances from controlled images could leverage this vulnerability to inject directives into LXC configurations. This could allow them to execute commands as root on the host system or mount host paths, even within restricted projects.
- Host system commands could be executed.
- Crafted images could trigger malicious behavior.
- Unauthorized root access may be gained.
Operational Fix
Recommended remediation, mitigation, and detection steps
The platform or infrastructure team managing Incus deployments is likely responsible for addressing this vulnerability. The first practical step involves identifying all Incus instances, determining their business criticality and external reachability, and then locating the accountable system owner to plan remediation.
- Platform team owns Incus instances.
- Verify instance reachability and criticality.
- Plan and coordinate remediation actions.