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: 1b4ace2f0ee3cc2969abff459991183bfd5ea080f25d7d590c56caaa17a7a0b5