UCF STIG Viewer Logo

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-39269 GEN005529-ESXI5-708 SV-51085r3_rule Medium
Description
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.
STIG Date
VMware ESXi Server 5.0 Security Technical Implementation Guide 2017-01-06

Details

Check Text ( C-46533r6_chk )
Disable lock down mode. Enable the ESXi Shell. Execute the following command(s):
# grep SendEnv /etc/ssh/ssh_config

If the "SendEnv" attribute is not set to "LOCALE", this is a finding. If the /etc/ssh/ssh_config file does not exist or the SendEnv option is not set, this is not a finding.

Re-enable lock down mode.
Fix Text (F-44248r6_fix)
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.