Kubernetes dashboard is not disabled misconfiguration detected in code
Rule Details
Cortex AppSec Rule ID
APPSEC_AZURE_8
Category - Subcategory
Kubernetes - Management Services Exposure
Provider
AZURE
Severity
LOW
Framework
ARM, Bicep, Terraform, Terraform Plan
Impact
The Terraform provider for Azure provides the capability to disable the Kubernetes dashboard on an AKS cluster. This is achieved by providing the Kubernetes dashboard as an AKS add-on like the Azure Monitor for containers integration, AKS virtual nodes, or HTTP application routing. The dashboard add-on is disabled by default for all new clusters created on Kubernetes 1.18 or greater. In mid-2019 Tesla was hacked and their Kubernetes dashboard was open to the internet. Hackers browsed around and found credentials, eventually managing to deploy pods running bitcoin mining software. We recommend you disable the Kubernetes dashboard to prevent the need to manage its individual access interface, eliminating it as an attack vector.
How to Fix
Resource: Microsoft.ContainerService/managedClusters
Arguments: kubeDashboard
Last updated
Was this helpful?
