GEN005220 - .Xauthority or X*.hosts (or equivalent) file(s) must be used to restrict access to the X server.

Information

If access to the X server is not restricted, a user's X session may be compromised.
NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Create an X*.hosts file, where * is a display number that may be used to limit X window connections. Add the list of authorized X clients to the file.

See Also

http://iasecontent.disa.mil/stigs/zip/U_STIG_Library_2015_07.zip