ESXI-65-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 that 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-5_Y23M07_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-207625r388482_rule, STIG-ID|ESXI-65-000024, STIG-Legacy|SV-104081, STIG-Legacy|V-93995, Vuln-ID|V-207625

Plugin: Unix

Control ID: 0ff66b9f4369a82c818113169704b6f44e7bac1c407d405af3413b00f143c556