The Photon operating system must configure sshd to disallow Kerberos authentication.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-256551 | SRG-OS-000480-GPOS-00227 | PHTN-30-000082 | SV-256551r991589_rule | 2024-12-16 | 1 |
Description
If Kerberos is enabled through Secure Shell (SSH), sshd provides a means of access to the system's Kerberos implementation. Vulnerabilities in the system's Kerberos implementation may then be subject to exploitation. To reduce the attack surface of the system, the Kerberos authentication mechanism within SSH must be disabled.
ℹ️ Check
At the command line, run the following command:
# sshd -T|&grep -i KerberosAuthentication
Expected result:
KerberosAuthentication no
If the output does not match the expected result, this is a finding.
✔️ Fix
Navigate to and open:
/etc/ssh/sshd_config
Ensure the "KerberosAuthentication" line is uncommented and set to the following:
KerberosAuthentication no
At the command line, run the following command:
# systemctl restart sshd.service