ESXI-06-000022 - The 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

To set the GatewayPorts setting, add or correct the following line in '/etc/ssh/sshd_config':

GatewayPorts no

See Also

http://iasecontent.disa.mil/stigs/zip/U_VMware_vSphere_6-0_ESXi_V1R5_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|III, CCI|CCI-000366, Group-ID|V-63213, Rule-ID|SV-77703r1_rule, STIG-ID|ESXI-06-000022, Vuln-ID|V-63213

Plugin: Unix

Control ID: 4d3984e92f6acda0ab055a927cbac9fb1ca11b8337970359e333d2fcf150ae68