ESXI-70-000012 - The ESXi host Secure Shell (SSH) daemon must ignore '.rhosts' files.

Information

SSH trust relationships mean a compromise on one host can allow an attacker to move trivially to other hosts. SSH can emulate the behavior of the obsolete 'rsh' command in allowing users to enable insecure access to their accounts via '.rhosts' files.

Solution

From an ESXi shell, add or correct the following line in '/etc/ssh/sshd_config':

IgnoreRhosts yes

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_7-0_Y23M07_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-2(3), CAT|II, CCI|CCI-000767, Rule-ID|SV-256385r919018_rule, STIG-ID|ESXI-70-000012, Vuln-ID|V-256385

Plugin: Unix

Control ID: 7f4a6d3b6e95fce16909e0ecc8c08a6c45ce01c34292a1906f9b3e0b635f2ac8