RHEL-06-000234 - The 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.

Solution

SSH can emulate the behavior of the obsolete rsh command in allowing users to enable insecure access to their accounts via '.rhosts' files.

To ensure this behavior is disabled, 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_RHEL_6_V2R2_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-2(2), CAT|II, CCI|CCI-000766, Rule-ID|SV-217998r603264_rule, STIG-ID|RHEL-06-000234, STIG-Legacy|SV-50412, STIG-Legacy|V-38611, Vuln-ID|V-217998

Plugin: Unix

Control ID: 25e50649f524bd114e2d534b75f4a5b47fe2bbe4fea42867fd95d7597b809fad