STIGUI
V-221688CAT I — High severitySV-221688r958486_rule

The Oracle Linux operating system must be configured so that the SSH daemon does not allow authentication using an empty password.

Rule version OL07-00-010300 · STIG v3 · 2025-05-08

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

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

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.

Identifiers

Group ID
V-221688
Group title
SRG-OS-000106-GPOS-00053
Rule ID
SV-221688r958486_rule
Check ID
C-23403r419136_chk
Fix ID
F-23392r419137_fix