UCF STIG Viewer Logo

The SSH client must be configured to not allow TCP forwarding.


Overview

Finding ID Version Rule ID IA Controls Severity
V-39249 GEN005516-ESXI5-703 SV-51065r3_rule Low
Description
SSH TCP connection forwarding provides a mechanism to establish TCP connections proxied by the SSH server. This function can provide similar convenience to a Virtual Private Network (VPN) with the similar risk of providing a path to circumvent firewalls and network ACLs.
STIG Date
VMware ESXi Server 5.0 Security Technical Implementation Guide 2017-01-06

Details

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

Re-enable lock down mode.

If any of the following attributes (ForwardAgent, ForwardX11, or ForwardX11Trusted) exist and are not set to "no", this is a finding. If the /etc/ssh/ssh_config file does not exist, this is not a finding.
Fix Text (F-44228r2_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 the following (quotes for emphasis only):
"ForwardAgent no"
"ForwardX11 no"
"ForwardX11Trusted no"

Re-enable lock down mode.