Check: RHEL-06-000234
Red Hat Enterprise Linux 6 STIG:
RHEL-06-000234
(in versions v2 r2 through v1 r14)
Title
The SSH daemon must ignore .rhosts files. (Cat II impact)
Discussion
SSH trust relationships mean a compromise on one host can allow an attacker to move trivially to other hosts.
Check Content
To determine how the SSH daemon's "IgnoreRhosts" option is set, run the following command: # grep -i IgnoreRhosts /etc/ssh/sshd_config If no line, a commented line, or a line indicating the value "yes" is returned, then the required value is set. If the required value is not set, this is a finding.
Fix Text
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
Additional Identifiers
Rule ID: SV-217998r603264_rule
Vulnerability ID: V-217998
Group Title: SRG-OS-000106
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000766 |
The information system implements multifactor authentication for network access to non-privileged accounts. |
Controls
Number | Title |
---|---|
IA-2 (2) |
Network Access To Non-Privileged Accounts |