Check: ESXI-67-000016
VMware vSphere 6.7 ESXi STIG:
ESXI-67-000016
(in versions v1 r3 through v1 r1)
Title
The ESXi host SSH daemon must not permit user environment settings. (Cat II impact)
Discussion
SSH environment options potentially allow users to bypass access restriction in some configurations. Users must not be able to present environment options to the SSH daemon.
Check Content
From an SSH session connected to the ESXi host, or from the ESXi shell, run the following command: # grep -i "^PermitUserEnvironment" /etc/ssh/sshd_config If there is no output or the output is not exactly "PermitUserEnvironment no", this is a finding.
Fix Text
From an SSH session connected to the ESXi host, or from the ESXi shell, add or correct the following line in "/etc/ssh/sshd_config": PermitUserEnvironment no
Additional Identifiers
Rule ID: SV-239272r674745_rule
Vulnerability ID: V-239272
Group Title: SRG-OS-000480-VMM-002000
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |