UCF STIG Viewer Logo

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-12014 GEN005180 SV-35162r1_rule ECLP-1 Medium
Description
.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.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2018-09-14

Details

Check Text ( C-36599r1_chk )
Get a list of (non-system account) users and the associated home directories.
# cat /etc/passwd | cut -f 1,6 -d ":"

Check the file permissions for the user .Xauthority files.
# ls -lLa .Xauthority

If the file mode is more permissive than 0600, this is finding.
Fix Text (F-31965r1_fix)
Change the mode of the .Xauthority files.
# chmod 0600 .Xauthority