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

Item Details

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

Plugin: Unix

Control ID: a4b720e441878523a8517601799c9e225fe4572414867e1c8e7103f9ebcd5c0d