PHTN-30-000119 - The Photon operating system must configure sshd to restrict AllowTcpForwarding.

Information

While enabling Transmission Control Protocol (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_7-0_Y25M01_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-256587r991589_rule, STIG-ID|PHTN-30-000119, Vuln-ID|V-256587

Plugin: Unix

Control ID: fdfbe06007bc718457f8025b15e62138e4cdd4163ba1e9382587268d1f8982d2