1.65 SOL-11.1-020540

Information

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

GROUP ID: V-216312
RULE ID: SV-216312r959010

If access to the X server is not restricted, a user's X session may be compromised.

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

https://workbench.cisecurity.org/benchmarks/23765