Check: SLES-15-040440
SUSE Linux Enterprise Server 15 STIG:
SLES-15-040440
(in version v1 r13)
Title
The SUSE operating system must not allow unattended or automatic logon via SSH. (Cat I impact)
Discussion
Failure to restrict system access via SSH to authenticated users negatively impacts SUSE operating system security.
Check Content
Verify the SUSE operating system disables unattended or automatic logon via SSH. Check that unattended or automatic logon via SSH is disabled with the following command: > sudo /usr/sbin/sshd -dd 2>&1 | awk '/filename/ {print $4}' | tr -d '\r' | tr '\n' ' ' | xargs sudo grep -iEH '^\s*(permit(.*?)(passwords|environment))' PermitEmptyPasswords no PermitUserEnvironment no If "PermitEmptyPasswords" or "PermitUserEnvironment" keywords are not set to "no", are missing completely, or are commented out, this is a finding.
Fix Text
Configure the SUSE operating system disables unattended or automatic logon via SSH. Add or edit the following lines in the "/etc/ssh/sshd_config" file: PermitEmptyPasswords no PermitUserEnvironment no
Additional Identifiers
Rule ID: SV-235032r951648_rule
Vulnerability ID: V-235032
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 |