Check: RHEL-07-010470
Red Hat Enterprise Linux 7 STIG:
RHEL-07-010470
(in versions v3 r14 through v1 r1)
Title
The Red Hat Enterprise Linux operating system must not allow a non-certificate trusted host SSH logon to the system. (Cat II impact)
Discussion
Failure to restrict system access to authenticated users negatively impacts operating system security.
Check Content
Verify the operating system does not allow a non-certificate trusted host SSH logon to the system. Check for the value of the "HostbasedAuthentication" keyword with the following command: # grep -i hostbasedauthentication /etc/ssh/sshd_config HostbasedAuthentication no If the "HostbasedAuthentication" keyword is not set to "no", is missing, or is commented out, this is a finding.
Fix Text
Configure the operating system to not allow a non-certificate trusted host SSH logon to the system. Edit the "/etc/ssh/sshd_config" file to uncomment or add the line for "HostbasedAuthentication" keyword and set the value to "no": HostbasedAuthentication no The SSH service must be restarted for changes to take effect.
Additional Identifiers
Rule ID: SV-204435r877377_rule
Vulnerability ID: V-204435
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 |