Cis K8S V200 5.1.12

Minimize access to webhook configuration objects (Manual)

cyberstrikeus Updated

File contents

5.1.12 Minimize access to webhook configuration objects (Manual)

Profile Applicability

  • Level 1 - Master Node

Description

Users with rights to create/modify/delete validatingwebhookconfigurations or mutatingwebhookconfigurations can control webhooks that can read any object admitted to the cluster, and in the case of mutating webhooks, also mutate admitted objects. This could allow for privilege escalation or disruption of the operation of the cluster.

Rationale

The ability to manage webhook configuration should be limited.

Audit

Review the users who have access to validatingwebhookconfigurations or mutatingwebhookconfigurations objects in the Kubernetes API.

Remediation

Where possible, remove access to the validatingwebhookconfigurations or mutatingwebhookconfigurations objects.

References

  1. https://kubernetes.io/docs/concepts/security/rbac-good-practices/#control-admission-webhooks

cyberstrikeus/cyberstrike/tree/main/.cyberstrike/skill/CIS_benchmarks/Server_Software/Kubernetes/CIS_Kubernetes_Benchmark_v2.0.0/cis-k8s-v200-5.1.12 commit 5072423516

Frequently asked questions

npx skillmds@latest add cyberstrikeus/cis-k8s-v200-5-1-12