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_Y20M04_STIG.zip

Item Details

Category: ACCESS CONTROL, IDENTIFICATION AND AUTHENTICATION

References: 800-53|AC-14, 800-53|IA-5, CAT|II, CCI|CCI-000767, Rule-ID|SV-104057r1_rule, STIG-ID|ESXI-65-000012, Vuln-ID|V-93971

Plugin: Unix

Control ID: fecbc0f6ee9ed0b3dfa298e4b2cb9d3df9afd89402ab6e56e85efe2087316008