1.229 RHEL-09-255135

Information

RHEL 9 SSH daemon must not allow GSSAPI authentication.

GROUP ID: V-258003
RULE ID: SV-258003r1045065

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 or uncomment the following line to "/etc/ssh/sshd_config" or to a file in "/etc/ssh/sshd_config.d" 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://workbench.cisecurity.org/benchmarks/22008

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-5(1), CAT|II, CCI|CCI-001813, Rule-ID|SV-258003r1045065_rule, STIG-ID|RHEL-09-255135, Vuln-ID|V-258003

Plugin: Unix

Control ID: 289e01489b84f52ba3573df6fa59abd47344861450c83a1c5d9f46ff7a701b3f