blob: d9e3b7b649c99555091ce1866a824871a6c675a9 [file] [log] [blame]
Dmitry Teselkine9420e72018-04-03 13:49:39 +03001# 5.2.4 Ensure SSH X11 forwarding is disabled (Scored)
2#
3# Profile Applicability
4# ---------------------
5# - Level 1 - Server
6# - Level 1 - Workstation
7#
8# Description
9# -----------
10# The X11Forwarding parameter provides the ability to tunnel X11 traffic through the
11# connection to enable remote graphic connections.
12#
13# Rationale
14# ---------
15# Disable X11 forwarding unless there is an operational requirement to use X11 applications
16# directly. There is a small risk that the remote X11 servers of users who are logged in via
17# SSH with X11 forwarding could be compromised by other users on the X11 server. Note
18# that even if X11 forwarding is disabled, users can always install their own forwarders.
19#
20# Audit
21# -----
22# Run the following command and verify that output matches:
23#
24# # grep "^X11Forwarding" /etc/ssh/sshd_config
25# X11Forwarding no
26#
27# Remediation
28# -----------
29# Edit the /etc/ssh/sshd_config file to set the parameter as follows:
30#
31# X11Forwarding no
32
33parameters:
34 openssh:
35 server:
36 x11:
37 forwarding: False
38