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

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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_Y22M10_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000366, Rule-ID|SV-239279r674766_rule, STIG-ID|ESXI-67-000024, Vuln-ID|V-239279

Plugin: Unix

Control ID: 1c6b26639b548f45d8c2c434eb2bacf5c84cbec0e8ba11ae6c293e9f0d4181bc