Cis K8S V200 5.1.11

Minimize access to the approval sub-resource of certificatesigningrequests objects (Manual)

cyberstrikeus Updated

File contents

5.1.11 Minimize access to the approval sub-resource of certificatesigningrequests objects (Manual)

Profile Applicability

  • Level 1 - Master Node

Description

Users with access to the update the approval sub-resource of CertificateSigningRequests objects can approve new client certificates for the Kubernetes API effectively allowing them to create new high-privileged user accounts.

This can allow for privilege escalation to full cluster administrator, depending on users configured in the cluster.

Rationale

The ability to update certificate signing requests should be limited.

Audit

Review the users who have access to update the approval sub-resource of CertificateSigningRequests objects in the Kubernetes API.

Remediation

Where possible, remove access to the approval sub-resource of CertificateSigningRequests objects.

References

  1. https://kubernetes.io/docs/concepts/security/rbac-good-practices/#csrs-and-certificate-issuing

cyberstrikeus/cyberstrike/tree/main/.cyberstrike/skill/CIS_benchmarks/Server_Software/Kubernetes/CIS_Kubernetes_Benchmark_v2.0.0/cis-k8s-v200-5.1.11 commit 94f75a298f

Frequently asked questions

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