The Photon operating system must configure Secure Shell (SSH) to disallow Generic Security Service Application Program Interface (GSSAPI) authentication.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-258874 | SRG-OS-000480-GPOS-00227 | PHTN-40-000211 | SV-258874r991589_rule | 2024-07-11 | 2 |
Description
GSSAPI authentication is used to provide additional authentication mechanisms to applications. Allowing GSSAPI authentication through Secure Shell (SSH) exposes the system's GSSAPI to remote hosts, increasing the attack surface of the system.
ℹ️ Check
At the command line, run the following command to verify the running configuration of sshd:
# sshd -T|&grep -i GSSAPIAuthentication
Example result:
gssapiauthentication no
If "GSSAPIAuthentication" is not set to "no", this is a finding.
✔️ Fix
Navigate to and open:
/etc/ssh/sshd_config
Ensure the "GSSAPIAuthentication" line is uncommented and set to the following:
GSSAPIAuthentication no
At the command line, run the following command:
# systemctl restart sshd.service