RHEL-09-255135 - RHEL 9 SSH daemon must not allow GSSAPI authentication.

Information

Generic Security Service Application Program Interface (GSSAPI) authentication is used to provide additional authentication mechanisms to applications. Allowing GSSAPI authentication through SSH exposes the system's GSSAPI to remote hosts, increasing the attack surface of the system.

Satisfies: SRG-OS-000364-GPOS-00151, SRG-OS-000480-GPOS-00227

Solution

Configure the SSH daemon to not allow GSSAPI authentication.

Add the following line in '/etc/ssh/sshd_config', or uncomment the line and set the value to 'no':

GSSAPIAuthentication no

The SSH service must be restarted for changes to take effect:

$ sudo systemctl restart sshd.service

See Also

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

Item Details

References: CAT|II, CCI|CCI-000366, CCI|CCI-001813, Rule-ID|SV-258003r925996_rule, STIG-ID|RHEL-09-255135, Vuln-ID|V-258003

Plugin: Unix

Control ID: 481d33941541309b77ed6540d83c6a57247ed623e4351f1bc86f36a3131940fc