The Photon operating system must configure Secure Shell (SSH) to restrict AllowTcpForwarding.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-258883PHTN-40-000220SV-258883r933710_ruleCCI-000366medium
Description
While enabling TCP tunnels is a valuable function of sshd, this feature is not appropriate for use on single purpose appliances.
STIGDate
VMware vSphere 8.0 vCenter Appliance Photon OS 4.0 Security Technical Implementation Guide2023-10-29

Details

Check Text (C-258883r933710_chk)

At the command line, run the following command to verify the running configuration of sshd: # sshd -T|&grep -i AllowTcpForwarding Example result: allowtcpforwarding no If "AllowTcpForwarding" is not set to "no", this is a finding.

Fix Text (F-62532r933709_fix)

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