TOSS 5 SSHD must not allow blank or null passwords.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| high | V-282493 | SRG-OS-000106-GPOS-00053 | TOSS-05-000238 | SV-282493r1200459_rule | 2026-04-01 | 1 |
Description
If an account has an empty password, anyone could log in and run commands with the privileges of that account. Accounts with empty passwords should never be used in operational environments.
ℹ️ Check
Verify TOSS 5 remote access using SSH prevents logging on with a blank password using the following command:
$ sudo /usr/sbin/sshd -dd 2>&1 | awk '/filename/ {print $4}' | tr -d '\r' | tr '\n' ' ' | xargs sudo grep -iH '^\s*permitemptypasswords'
PermitEmptyPassword no
If the "PermitEmptyPassword" keyword is set to "yes", is missing, or is commented out, this is a finding.
✔️ Fix
Configure the system to prevent SSH users from logging on with blank passwords by editing the following line in "etc/ssh/sshd_config":
PermitEmptyPasswords no
Restart the SSH daemon for the settings to take effect:
$ sudo systemctl restart sshd.service