CNTR-K8-002620 - Kubernetes API Server must disable basic authentication to protect information in transit.

Information

Kubernetes basic authentication sends and receives request containing username, uid, groups, and other fields over a clear text HTTP communication. Basic authentication does not provide any security mechanisms using encryption standards. PKI certificate-based authentication must be set over a secure channel to ensure confidentiality and integrity. Basic authentication must not be set in the manifest file.

Solution

Edit the Kubernetes API Server manifest file in the /etc/kubernetes/manifests directory on the Kubernetes Control Plane. Remove the setting '--basic-auth-file'.

See Also

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

Item Details

References: CAT|I, CCI|CCI-002448, Rule-ID|SV-245542r918141_rule, STIG-ID|CNTR-K8-002620, Vuln-ID|V-245542

Plugin: Unix

Control ID: fb0c2c79d68fb1b75ff97c2c78d2b086daf0ff5f0b1f5bc706720f9a14a7058e