STIGQter STIGQter: STIG Summary: SLES 12 Security Technical Implementation Guide Version: 2 Release: 3 Benchmark Date: 23 Apr 2021:

The SUSE operating system must not allow users to override SSH environment variables.

DISA Rule

SV-217269r646747_rule

Vulnerability Number

V-217269

Group Title

SRG-OS-000480-GPOS-00229

Rule Version

SLES-12-030151

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

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

Check Contents

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.

Vulnerability Number

V-217269

Documentable

False

Rule Version

SLES-12-030151

Severity Override Guidance

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.

Check Content Reference

M

Target Key

4033

Comments