GEN005519-ESXI5-000102 - The SSH daemon must be configured to not allow X11 forwarding.

Information

X11 forwarding over SSH allows for the secure remote execution of X11-based applications. This feature can increase the attack surface of an SSH connection and should not be enabled unless needed.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Disable lock down mode.
Enable the ESXi Shell.

Edit the SSH daemon configuration and add/modify the 'X11Forwarding' configuration, setting it to 'no'.
# vi /etc/ssh/sshd_config

Re-enable lock down mode.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_ESXi5_Server_V2R1_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Group-ID|V-39265, Rule-ID|SV-250595r798784_rule, STIG-ID|GEN005519-ESXI5-000102, STIG-Legacy|SV-51081, STIG-Legacy|V-39265, Vuln-ID|V-250595

Plugin: VMware

Control ID: 47bce5001e3d123b5cf2a1fea9f537cfbe7ea878b71402d74302bef7ad270525