Horizon Alert
Summary of the vulnerability and why it matters
A vulnerability exists in Kubernetes environments utilizing Strimzi, allowing a tenant with specific permissions to deploy arbitrary container images. This could grant them unauthorized cross-tenant control-plane access to sensitive Strimzi resources. The primary concern is confirming if this specific misconfiguration is present and exposed within your environment.
- Tenant can run any code in the cluster.
- Impacts cross-tenant data and control.
- Confirm relevance and exposure to Strimzi.
Attack Path
How an attacker could exploit the issue
A Kubernetes tenant with create permissions on Console custom resources can leverage this vulnerability to gain unauthorized access to sensitive information and control over Strimzi resources. By specifying an arbitrary container image in a Console custom resource, the attacker can trick the operator into deploying this image within a pod. This pod's ServiceAccount is then bound to a ClusterRole that grants extensive read and write permissions across Strimzi custom resources, effectively allowing the attacker to manipulate the Strimzi control plane and potentially other cluster resources.
- Authenticated tenant with create permissions.
- Deploying arbitrary container image via Console CR.
- Unauthorized Strimzi control-plane access.
Live Threat
Current exploitation, exposure, and threat context
A Kubernetes tenant with create permissions on Console custom resources could deploy an arbitrary container image. This image could leverage a service account token to gain cross-tenant access to Strimzi's control plane, allowing for unauthorized read and write operations on Strimzi resources.
- Strimzi control plane access.
- Arbitrary container image deployment.
- Unauthorized resource modifications.
Operational Fix
Recommended remediation, mitigation, and detection steps
A Kubernetes administrator or platform team is likely responsible for managing the operator and its configurations, while application owners may need to be involved to understand the impact on their deployed workloads. The first practical step is to identify all Kubernetes clusters where the affected operator is deployed, confirm if tenant users have `create` permissions on `Console` custom resources, and assess the business criticality of the Strimzi custom resources.
- Platform team owns operator deployment and configuration.
- Verify tenant `create` permissions on `Console` CRs.
- Plan remediation based on Strimzi CR criticality.