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 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_V2R1_STIG.zip

Item Details

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

Plugin: Unix

Control ID: 5312f36f1e1114e13c923807220ed90ae154b70d21c3453422ecd1c84a055763