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

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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 Master node, 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_V1R6_STIG.zip

Item Details

References: CAT|II, CCI|CCI-001499, Rule-ID|SV-242405r712571_rule, STIG-ID|CNTR-K8-000860, Vuln-ID|V-242405

Plugin: Unix

Control ID: 48a3f4fbcdcd6b4e09adb0d6347ca3ddeb6889896dff1b4a7b3b6a10714e452d