Horizon Alert
Summary of the vulnerability and why it matters
A policy engine used in cloud-native platforms has a vulnerability that allows authenticated users to create or modify resources in unintended namespaces, potentially leading to unauthorized changes and privilege escalation. This issue affects specific versions of Kyverno.
- Policy engine allows unauthorized resource changes.
- Affects cloud platforms; requires internal access.
- Confirm relevance and assess exposure internally.
Attack Path
How an attacker could exploit the issue
An attacker with the ability to create specific policy objects in one namespace could leverage a vulnerability in Kyverno's policy compiler. This would allow them to bypass namespace restrictions and instruct the admission controller, which has broad permissions, to create or modify resources in other namespaces. This could lead to unauthorized changes and a rise in privileges within the cluster.
- Authenticated access required.
- Invoking cross-namespace resource creation.
- Unauthorized resource modification and privilege escalation.
Live Threat
Current exploitation, exposure, and threat context
When supported by the advisory, a user who can create specific policy objects in one namespace could cause the admission controller to create or modify resources like ConfigMaps, Secrets, and RoleBindings in other namespaces. This could lead to unauthorized changes to cluster configuration.
- Cluster-wide resources and configuration.
- Creating policies in one namespace.
- Unauthorized resource modification.
Operational Fix
Recommended remediation, mitigation, and detection steps
Cloud-native platform engineering teams using Kyverno are responsible for addressing this vulnerability. The initial step involves identifying all instances of Kyverno within your environment, confirming their reachability and business criticality, and then identifying the accountable owner before planning remediation based on the assessed risk.
- Platform and Security teams own the issue.
- Verify Kyverno deployment and policy configurations.
- Plan remediation during the next maintenance window.