Check: CNTR-K8-003210
Kubernetes STIG:
CNTR-K8-003210
(in version v1 r1)
Title
The Kubernetes kubeadm must be owned by root. (Cat II impact)
Discussion
The Kubernetes kubeeadm.conf contains sensitive information regarding the cluster nodes configuration. If this file can be modified, the Kubernetes Platform Plane would be degraded or compromised for malicious intent. Many of the security settings within the document are implemented through this file.
Check Content
Review the Kubernetes kubeadm by using the command: stat -c %U:%G /usr/bin/kubeadm| grep -v root:root If the command returns any non root:root file permissions, this is a finding.
Fix Text
Change the ownership of the kubeadm to root: root by executing the command: chown root:root /user/bin/kubeadm
Additional Identifiers
Rule ID: SV-242454r712718_rule
Vulnerability ID: V-242454
Group Title: SRG-APP-000516-CTR-001325
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
Implement the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |