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 SSH client must not send environment variables to the server or must only send those pertaining to the locale.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22478 GEN005529 SV-46090r1_rule ECSC-1 Low
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
SUSE Linux Enterprise Server v11 for System z 2013-04-26

Details

Check Text ( C-43347r1_chk )
Check the SSH client configuration for the SendEnv setting.
# grep -i SendEnv /etc/ssh/ssh_config | grep -v '^#'
If any line is returned other than those permitting "LANG" or "LC_*" environment variables, this is a finding.
Fix Text (F-39434r1_fix)
Edit the SSH client configuration and remove or edit the SendEnv setting(s) to only accept "LANG" or "LC_*" environment variables.