Horizon Alert
Summary of the vulnerability and why it matters
This vulnerability affects Calico installations managed by the Tigera Operator. It allows a user with pod creation privileges to potentially gain root access on a Linux node, including control plane nodes. This could lead to a full cluster compromise by accessing administrator credentials and the cluster's private key.
- Allows root access on nodes.
- Critical for protecting cluster control.
- Assess relevance and exposure.
Attack Path
How an attacker could exploit the issue
An attacker with the ability to create pods in a namespace not enforcing strict security policies can manipulate volume mount options. This manipulation allows the FlexVolume driver, which runs as root on the node, to be tricked into mounting sensitive host directories, including the entire root filesystem, into the attacker's pod. This grants the attacker container escape to root on the node, and potentially full cluster compromise by accessing control-plane secrets.
- Requires authenticated pod creation access.
- Triggered by specially crafted volume mount options.
- Allows container escape to root access.
Live Threat
Current exploitation, exposure, and threat context
A privileged user with the ability to create pods in certain Kubernetes namespaces could exploit this vulnerability. By crafting a malicious pod definition, an attacker could potentially gain root-level access to the underlying host node, enabling them to read sensitive cluster data or compromise the entire Kubernetes cluster.
- Host filesystem access and root privileges.
- Malicious pod creation and volume mounting.
- Full cluster compromise and data exfiltration.
Operational Fix
Recommended remediation, mitigation, and detection steps
The Tigera Operator, which manages Calico installations, installs a FlexVolume driver that can be exploited by authenticated users with pod creation privileges. This vulnerability allows for container escapes to root on the node, and potentially full cluster compromise if control-plane nodes are affected. The first practical step is to identify all nodes running this driver, determine their business criticality and reachability, and then find the accountable owner for remediation planning.
- Identify affected workloads and owners.
- Verify node reachability and business criticality.
- Plan remediation based on exposure.