UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The ESXi host SSH daemon must not accept environment variables from the client.


Overview

Finding ID Version Rule ID IA Controls Severity
V-93995 ESXI-65-000024 SV-104081r1_rule Medium
Description
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.
STIG Date
VMware vSphere 6.5 ESXi Security Technical Implementation Guide 2019-10-01

Details

Check Text ( C-93313r1_chk )
From an SSH session connected to the ESXi host, or from the ESXi shell, run the following command:

# grep -i "^AcceptEnv" /etc/ssh/sshd_config

If there is no output or the output is not exactly "AcceptEnv", this is a finding.
Fix Text (F-100243r1_fix)
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