CNTR-K8-000860 - The Kubernetes manifests must be owned by root.

Information

The manifest files contain the runtime configuration of the API server, proxy, scheduler, controller, and etcd. If an attacker can gain access to these files, changes can be made to open vulnerabilities and bypass user authorizations inherit within Kubernetes with RBAC implemented.

Solution

On the Control Plane, change to the /etc/kubernetes/manifest directory. Run the command:
chown root:root *

To verify the change took place, run the command:
ls -l *

All the manifest files should be owned by root:root.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Kubernetes_V1R11_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-5(6), CAT|II, CCI|CCI-001499, Rule-ID|SV-242405r879586_rule, STIG-ID|CNTR-K8-000860, Vuln-ID|V-242405

Plugin: Unix

Control ID: bd9b68a4b9e356ccee1b16066485b36964c647d68c3f55eb9c532e350aaaf86c