ESXI-65-000012 - The ESXi host 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 SSH session connected to the ESXi host, or from the ESXi shell, add or correct the following line in '/etc/ssh/sshd_config':

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_6-5_Y23M07_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-2(3), CAT|II, CCI|CCI-000767, Rule-ID|SV-207613r378856_rule, STIG-ID|ESXI-65-000012, STIG-Legacy|SV-104057, STIG-Legacy|V-93971, Vuln-ID|V-207613

Plugin: Unix

Control ID: 5834a6291cb46565f2aaab3fce26f06aeb52a506ceeabb5eea5f82b3ac4e7fe5