STIGQter STIGQter: STIG Summary: Oracle Linux 6 Security Technical Implementation Guide Version: 1 Release: 17 Benchmark Date: 25 Oct 2019: The SSH daemon must ignore .rhosts files.

DISA Rule

SV-64785r1_rule

Vulnerability Number

V-50579

Group Title

SRG-OS-000106

Rule Version

OL6-00-000234

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

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

Check Contents

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.

Vulnerability Number

V-50579

Documentable

False

Rule Version

OL6-00-000234

Severity Override Guidance

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.

Check Content Reference

M

Target Key

2208

Comments