Check: SOL-11.1-020510
Solaris 11 SPARC STIG:
SOL-11.1-020510
(in versions v3 r2 through v1 r17)
Title
All .Xauthority files must have mode 0600 or less permissive. (Cat II impact)
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 Content
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 Text
Change the mode of the .Xauthority files. Procedure: # chmod 0600 .Xauthority
Additional Identifiers
Rule ID: SV-216309r959010_rule
Vulnerability ID: V-216309
Group Title: SRG-OS-000480
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000225 |
Employ the principle of least privilege, allowing only authorized accesses for users (or processes acting on behalf of users) which are necessary to accomplish assigned organizational tasks. |
CCI-000366 |
Implement the security configuration settings. |