The SUSE operating system must not allow users to override SSH environment variables.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-217269 | SLES-12-030151 | SV-217269r991591_rule | CCI-000366 | medium |
| Description | ||||
| SSH environment options potentially allow users to bypass access restriction in some configurations. | ||||
| STIG | Date | |||
| SUSE Linux Enterprise Server 12 Security Technical Implementation Guide | 2025-05-14 | |||
Related Frameworks
4 paths across 3 frameworks
Related Frameworks
NIST 800-531 mapping
CM-6
1.00
- DISA · 3 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1712 mappings
3.4.1
1.00
- DISA · 3 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
3.4.2
1.00
- DISA · 3 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
CCI1 mapping
CCI-000366
1.00
- DISA · 3 · disa_xccdf · related
Details
Check Text (C-217269r991591_chk)
Verify the SUSE operating system disables unattended via SSH.
Check that unattended logon via SSH is disabled with the following command:
# sudo grep -i "permituserenvironment" /etc/ssh/sshd_config
PermitUserEnvironment no
If the "PermitUserEnvironment" keyword is not set to "no", is missing completely, or is commented out, this is a finding.
Fix Text (F-18495r369964_fix)
Configure the SUSE operating system disables unattended logon via SSH.
Add or edit the following lines in the "/etc/ssh/sshd_config" file:
PermitUserEnvironment no