CNTR-K8-000900 - The Kubernetes manifests must have least privileges.

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, scheduler, controller, and etcd. If an attacker can gain access to these files, changes can be made to open vulnerabilities and bypass user authorizations inherent within Kubernetes with RBAC implemented.

Satisfies: SRG-APP-000133-CTR-000310, SRG-APP-000133-CTR-000295

Solution

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

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

All the manifest files should now have privileges of '644'.

See Also

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

Item Details

References: CAT|II, CCI|CCI-001499, Rule-ID|SV-242408r863984_rule, STIG-ID|CNTR-K8-000900, Vuln-ID|V-242408

Plugin: Unix

Control ID: c67e67e8b7d33fb740c8baf2098c2c4a498d60a17f04573ec496d8cb4e7bbff2