CNTR-K8-003150 - The Kubernetes Kube Proxy kubeconfig 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 Kubernetes Kube Proxy kubeconfig contain the argument and setting for the Control Planes. These settings contain network rules for restricting network communication between pods, clusters, and networks. If these files can be changed, data traversing between the Kubernetes Control Panel components would be compromised. Many of the security settings within the document are implemented through this file.

Solution

Change the ownership of the Kube Proxy to root:root by executing the command:

chown root:root <location from kubeconfig>.

See Also

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

Item Details

References: CAT|II, CCI|CCI-000366, Rule-ID|SV-242448r961863_rule, STIG-ID|CNTR-K8-003150, Vuln-ID|V-242448

Plugin: Unix

Control ID: 5299c10199aaf6fc93e2c597f7ccf2b3c0be7a852ea630e51bc688e88beef79a