SV-215300r508663_rule
V-215300
SRG-OS-000480-GPOS-00227
AIX7-00-002117
CAT II
10
Edit the "/etc/sshd/sshd_config" file to add the following line and save the change:
X11Forwarding no
Restart the SSH daemon:
# stopsrc -s sshd
# startsrc -s sshd
If X11 forwarding has been authorized for use, this is Not Applicable.
Check the SSH daemon configuration for the "X11Forwarding" directive using command:
# grep -i X11Forwarding /etc/ssh/sshd_config | grep -v '^#'
X11Forwarding no
If the setting is not present or the setting is "yes", this is a finding.
V-215300
False
AIX7-00-002117
If X11 forwarding has been authorized for use, this is Not Applicable.
Check the SSH daemon configuration for the "X11Forwarding" directive using command:
# grep -i X11Forwarding /etc/ssh/sshd_config | grep -v '^#'
X11Forwarding no
If the setting is not present or the setting is "yes", this is a finding.
M
4012