STIGUI
V-216309CAT II — Medium severitySV-216309r959010_rule

All .Xauthority files must have mode 0600 or less permissive.

Rule version SOL-11.1-020510 · STIG v3 · 2026-08-19

Discussion

.Xauthority files ensure the user is authorized to access the specific X Windows host. Excessive permissions may permit unauthorized modification of these files, which could lead to Denial of Service to authorized access or allow unauthorized access to be obtained.

Check

If X Display Manager (XDM) is not used on the system, this is not applicable.

Determine if XDM is running.

Procedure: # ps -ef | grep xdm

Check the file permissions for the .Xauthority files in the home directories of users of X. Procedure: # cd ~<X user> # ls -lL .Xauthority

If the file mode is more permissive than 0600, this is finding.

Fix

Change the mode of the .Xauthority files.

Procedure: # chmod 0600 .Xauthority

Identifiers

Group ID
V-216309
Group title
SRG-OS-000480
Rule ID
SV-216309r959010_rule
Check ID
C-17545r371015_chk
Fix ID
F-17543r371016_fix