PHTN-40-000220 The Photon operating system must configure Secure Shell (SSH) to restrict AllowTcpForwarding.

Information

While enabling TCP tunnels is a valuable function of sshd, this feature is not appropriate for use on single purpose appliances.

Solution

Navigate to and open:

/etc/ssh/sshd_config

Ensure the "AllowTcpForwarding" line is uncommented and set to the following:

AllowTcpForwarding no

At the command line, run the following command:

# systemctl restart sshd.service

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_8-0_Y24M08_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-258883r991589_rule, STIG-ID|PHTN-40-000220, Vuln-ID|V-258883

Plugin: Unix

Control ID: 4abdac647a1d843360dc5e99bf89fb3abfbdc98865c03269133ee679a09bb02e