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-22466 GEN005517 SV-26759r1_rule ECSC-1 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
Draft AIX Security Technical Implementation Guide 2011-08-17

Details

Check Text ( C-27768r1_chk )
Check the SSH daemon configuration for the gateway ports setting.
# grep -i GatewayPorts /etc/ssh/sshd_config | grep -v '^#'
If no lines are returned, or the returned setting has a value evaluating to yes, this is a finding.
Fix Text (F-24009r1_fix)
Edit the SSH daemon configuration and change or add the GatewayPorts setting to no.