Why it matters
nodes/proxy reaches the kubelet API directly, which runs commands in any pod on the node and bypasses audit logging and admission.
How to fix it
Remove access to nodes/proxy.
What TrustIvan reads
Read through the Kubernetes API with the read-only role TrustIvan's install creates.
Benchmark controls
- CIS Kubernetes Benchmark 1.9.0, control
5.1.10: Access to the nodes/proxy subresource is minimised - NSA/CISA Kubernetes Hardening Guidance 1.2, control
authn.rbac: Role-based access control grants least privilege. Also checked for this control: cluster-admin is granted, Role can escalate, bind or impersonate, Role can create pods, Role can exec into or attach to pods, Role can read Secrets, Role uses a wildcard, Workload runs as a service account with cluster-admin
Control numbers are the published ones; the titles are TrustIvan's own short descriptions. The benchmarks belong to their publishers, who do not endorse TrustIvan.
Related checks
- Role can escalate, bind or impersonate
KubernetesSeverity: High
k8s.rbac.escalate-bind-impersonate - Role can create pods
KubernetesSeverity: Medium
k8s.rbac.pod-create - A role is bound to a default service account
KubernetesSeverity: Medium
k8s.rbac.default-service-account-bound - Role can exec into or attach to pods
KubernetesSeverity: Medium
k8s.rbac.pod-exec - Role can approve certificate signing requests
KubernetesSeverity: Medium
k8s.rbac.csr-approve - Role can create PersistentVolumes
KubernetesSeverity: Low
k8s.rbac.pv-create
Terms: KSPM (Kubernetes security posture management), Kubernetes RBAC, NSA/CISA Kubernetes Hardening Guidance, CIS Benchmarks
All Kubernetes posture checks · The whole catalogue · How this works in TrustIvan · Documentation