ESXI-65-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 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_Y21M07_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, 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: b5be1dd8aa5ae699af53ac2da86ccad667ba74b99796501cf8abdab7a5e5534b