ESXI-65-000022 - The ESXi host SSH daemon must be configured to not allow gateway ports.

Information

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.

Solution

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':

GatewayPorts no

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-5_Y21M07_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CAT|III, CCI|CCI-000366, Rule-ID|SV-207623r388482_rule, STIG-ID|ESXI-65-000022, STIG-Legacy|SV-104077, STIG-Legacy|V-93991, Vuln-ID|V-207623

Plugin: Unix

Control ID: d4857024912aae3154e735df9e9e3740b5c2a5f8e69ef864f59b06cf3363d521