Check: AIX7-00-002121
IBM AIX 7.x STIG:
AIX7-00-002121
(in versions v2 r9 through v1 r1)
Title
The AIX SSH daemon must be configured to disable user .rhosts files. (Cat II impact)
Discussion
Trust .rhost file means a compromise on one host can allow an attacker to move trivially to other hosts.
Check Content
Check the SSH daemon configuration for allowed ".rhosts" using command: # grep -i IgnoreRhosts /etc/ssh/sshd_config | grep -v '^#' IgnoreRhosts yes If no lines are returned, or the returned "IgnoreRhosts" directive is not set to "yes", this is a finding.
Fix Text
Edit "/etc/ssh/sshd_config" and add or update the "IgnoreRhosts " line as: IgnoreRhosts yes Save the change and restart ssh daemon: # stopsrc -s sshd # startsrc -s sshd
Additional Identifiers
Rule ID: SV-215303r877377_rule
Vulnerability ID: V-215303
Group Title: SRG-OS-000480-GPOS-00229
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |