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

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-12(3), CAT|I, CCI|CCI-002448, Rule-ID|SV-245542r961632_rule, STIG-ID|CNTR-K8-002620, Vuln-ID|V-245542

Plugin: Unix

Control ID: e68ad9c2937c77f56b6cd0db90b539a8c76a6522704de970fca1980deae2bd1c