ESXI-67-000024 - The ESXi host SSH daemon must not accept environment variables from the client.

Information

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.

Solution

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_Y23M07_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-239279r674766_rule, STIG-ID|ESXI-67-000024, Vuln-ID|V-239279

Plugin: Unix

Control ID: 61ad4cb1f06889b2f2f856fe78683455e0cff854bf4e6c9b5782c208812f2451