ESXI-06-000022 - The SSH daemon must be configured to not allow gateway ports.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

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_V1R4_STIG.zip

Item Details

References: CAT|III, CCI|CCI-000366, Group-ID|V-63213, Rule-ID|SV-77703r1_rule, STIG-ID|ESXI-06-000022

Plugin: VMware

Control ID: 5d7af766393573359955d87db8413a9ceadc5aac371fb18ab9d5f13e4effa8db