Horizon Alert
Summary of the vulnerability and why it matters
A critical vulnerability exists in KEDA, a Kubernetes autoscaling tool, that could allow an attacker with specific administrative access to gain broad control over your cluster's sensitive data and operations. This issue arises from how KEDA handles authentication with external services like HashiCorp Vault, potentially exposing sensitive operator permissions.
- KEDA allows attackers to steal cluster admin privileges.
- Criticality: Confirms KEDA’s internal security and access controls.
- Executive Takeaway: Ensure KEDA configurations are secured.
Attack Path
How an attacker could exploit the issue
An attacker with namespace administrator privileges can target the KEDA component by creating specific resources. By configuring these resources to point to a tenant-controlled endpoint and leveraging Kubernetes authentication, the attacker can trick KEDA into sending the operator pod's service account token to this endpoint. This allows the attacker to gain the operator's cluster-wide permissions, potentially leading to unauthorized access to sensitive information and system modifications.
- Requires namespace administrator access.
- Triggered by creating specific KEDA resources.
- Leads to broad cluster-wide permissions.
Live Threat
Current exploitation, exposure, and threat context
A Kubernetes administrator with namespace privileges could configure KEDA to send a ServiceAccount token to a malicious endpoint. This token could then be used to gain cluster-wide permissions, potentially allowing unauthorized access to sensitive information and system operations.
- Operator's cluster-wide permissions.
- Malicious endpoint receives token.
- Broad secret reads and system operations.
Operational Fix
Recommended remediation, mitigation, and detection steps
Application owners and Kubernetes platform teams are likely responsible for addressing this vulnerability. The first step is to identify all KEDA deployments, confirm their reachability and criticality, and then assign ownership for remediation planning.
- Assign KEDA deployment ownership.
- Verify KEDA resource reachability.
- Plan for KEDA upgrade or mitigation.