SV-261333r996464_rule
V-261333
SRG-OS-000480-GPOS-00227
SLEM-05-255040
CAT II
10
Configure SLEM 5 SSH daemon to disable forwarded X connections for interactive users.
Add or modify the following line in the "/etc/ssh/sshd_config" file:
X11Forwarding no
Verify SLEM 5 SSH daemon remote X forwarded connections for interactive users are disabled with the following command:
> sudo /usr/sbin/sshd -dd 2>&1 | awk '/filename/ {print $4}' | tr -d '\r' | tr '\n' ' ' | xargs sudo grep -iH '^\s*x11forwarding'
/etc/ssh/sshd_config:X11Forwarding no
If the "X11Forwarding" keyword is set to "yes" and is not documented with the information system security officer (ISSO) as an operational requirement, is commented out, or the line is missing, this is a finding.
V-261333
False
SLEM-05-255040
Verify SLEM 5 SSH daemon remote X forwarded connections for interactive users are disabled with the following command:
> sudo /usr/sbin/sshd -dd 2>&1 | awk '/filename/ {print $4}' | tr -d '\r' | tr '\n' ' ' | xargs sudo grep -iH '^\s*x11forwarding'
/etc/ssh/sshd_config:X11Forwarding no
If the "X11Forwarding" keyword is set to "yes" and is not documented with the information system security officer (ISSO) as an operational requirement, is commented out, or the line is missing, this is a finding.
M
5596