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_V1R5_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: 77378ce039891f08925b98caddec2b21c5098b3a4f951f58154be3b845a1c804