UCF STIG Viewer Logo

The SSH daemon must be configured to not allow gateway ports.


Overview

Finding ID Version Rule ID IA Controls Severity
V-39250 GEN005517-ESXI5-000101 SV-51066r2_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. Gateway ports allow remote forwarded ports to bind to non-loopback addresses on the server.
STIG Date
VMware ESXi Server 5.0 Security Technical Implementation Guide 2017-01-06

Details

Check Text ( C-46514r2_chk )
Disable lock down mode. Enable the ESXi Shell. Execute the following command(s):
# grep -i GatewayPorts /etc/ssh/sshd_config

If "GatewayPorts" is not set to "no", this is a finding.

Re-enable lock down mode.
Fix Text (F-44229r2_fix)
Disable lock down mode. Enable the ESXi Shell. Execute the following command(s):
# vi /etc/ssh/sshd_config

Add/modify the attribute line entry to the following (quotes for emphasis only):
"GatewayPorts no"

Re-enable lock down mode.