GEN005529-ESXI5-708 - The SSH client must not send environment variables to the server or must only send those pertaining to locale.

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.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Disable lock down mode. Enable the ESXi Shell. Execute the following command(s):
# vi /etc/ssh/ssh_config

Add/modify the attribute line entry to one of the following (quotes for emphasis only):
'SendEnv LOCALE '
or
'SendEnv'

Re-enable lock down mode.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_ESXi5_Server_V2R1_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Group-ID|V-39269, Rule-ID|SV-250598r798793_rule, STIG-ID|GEN005529-ESXI5-708, STIG-Legacy|SV-51085, STIG-Legacy|V-39269, Vuln-ID|V-250598

Plugin: VMware

Control ID: 118e2c0224329be0b4712a962fc31148de7a2a4a587decdd733ab677d11c50ea