RHEL-07-040712 - The Red Hat Enterprise Linux operating system SSH server must be configured to use only FIPS-validated key exchange algorithms.

Information

The use of FIPS-validated cryptographic algorithms is enforced by enabling kernel FIPS mode. In the event that kernel FIPS mode is disabled, the use of nonvalidated cryptographic algorithms will be permitted systemwide. The SSH server configuration must manually define only FIPS-validated key exchange algorithms to prevent the use of nonvalidated algorithms.

Solution

Configure the SSH server to use only FIPS-validated key exchange algorithms by adding or modifying the following line in '/etc/ssh/sshd_config':

KexAlgorithms ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256

Restart the 'sshd' service for changes to take effect:

$ sudo systemctl restart sshd

See Also

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

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-17(2), CAT|II, CCI|CCI-001453, Rule-ID|SV-255925r958408_rule, STIG-ID|RHEL-07-040712, Vuln-ID|V-255925

Plugin: Unix

Control ID: b11c1359997e98560faf96c550740a2cac29259db6beb3f486048a3fed776237