Check: ESXI-67-000024
VMware vSphere 6.7 ESXi STIG:
ESXI-67-000024
(in versions v1 r3 through v1 r1)
Title
The ESXi host SSH daemon must not accept environment variables from the client. (Cat II impact)
Discussion
Environment variables can be used to change the behavior of remote sessions and should be limited. Locale environment variables specify the language, character set, and other features modifying the operation of software to match the user's preferences.
Check Content
From an SSH session connected to the ESXi host, or from the ESXi shell, run the following command: # grep -i "^AcceptEnv" /etc/ssh/sshd_config If there is no output or the output is not exactly "AcceptEnv", 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": AcceptEnv
Additional Identifiers
Rule ID: SV-239279r674766_rule
Vulnerability ID: V-239279
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 |