UCF STIG Viewer Logo

The SSH daemon must not permit tunnels.


Overview

Finding ID Version Rule ID IA Controls Severity
V-39268 GEN005531-ESXI5-000108 SV-51084r2_rule Medium
Description
OpenSSH has the ability to create network tunnels (layer-2 and layer-3) over an SSH connection. 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.
STIG Date
VMware ESXi Server 5.0 Security Technical Implementation Guide 2017-01-06

Details

Check Text ( C-46532r2_chk )
Disable lock down mode. Enable the ESXi Shell. Execute the following command(s):
# grep PermitTunnel /etc/ssh/sshd_config

If the command returns nothing, or the returned "PermitTunnel" attribute is not set to "no", this is a finding.
Fix Text (F-44247r2_fix)
Disable lock down mode. Enable the ESXi Shell. Execute the following command(s):
# vi /etc/ssh/sshd_config

Add/modify the attribute line entry to the following (quotes for emphasis only):
"PermitTunnel no"

Re-enable lock down mode.