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_Y22M04_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: 1c6b26639b548f45d8c2c434eb2bacf5c84cbec0e8ba11ae6c293e9f0d4181bc