The ESXi host Secure Shell (SSH) daemon must be configured to not allow X11 forwarding.
An XCCDF Rule
Description
<VulnDiscussion>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.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-256392r885957_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
From an ESXi shell, add or correct the following line in "/etc/ssh/sshd_config":
X11Forwarding no