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

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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 Master Node. Remove the setting '--basic-auth-file'.

See Also

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

Item Details

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

Plugin: Unix

Control ID: a766c05c84ae6a132020d27ee99cc3cd78317f799d3af8b55db99e892d8dac4f