Check: RHEL-07-010300
Red Hat Enterprise Linux 7 STIG:
RHEL-07-010300
(in versions v3 r14 through v1 r1)
Title
The Red Hat Enterprise Linux operating system must be configured so that the SSH daemon does not allow authentication using an empty password. (Cat I impact)
Discussion
Configuring this setting for the SSH daemon provides additional assurance that remote logon via SSH will require a password, even in the event of misconfiguration elsewhere.
Check Content
To determine how the SSH daemon's "PermitEmptyPasswords" option is set, run the following command: # grep -i PermitEmptyPasswords /etc/ssh/sshd_config PermitEmptyPasswords no If no line, a commented line, or a line indicating the value "no" is returned, the required value is set. If the required value is not set, this is a finding.
Fix Text
To explicitly disallow remote logon from accounts with empty passwords, add or correct the following line in "/etc/ssh/sshd_config": PermitEmptyPasswords no The SSH service must be restarted for changes to take effect. Any accounts with empty passwords should be disabled immediately, and PAM configuration should prevent users from being able to assign themselves empty passwords.
Additional Identifiers
Rule ID: SV-204425r603261_rule
Vulnerability ID: V-204425
Group Title: SRG-OS-000106-GPOS-00053
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 |