All .Xauthority files must have mode 0600 or less permissive.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-216309 | SOL-11.1-020510 | SV-216309r959010_rule | CCI-000366 | 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 | |||
| Solaris 11 SPARC Security Technical Implementation Guide | 2025-05-05 | |||
Related Frameworks
4 paths across 3 frameworks
Related Frameworks
NIST 800-531 mapping
CM-6
1.00
- DISA · 3 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1712 mappings
3.4.1
1.00
- DISA · 3 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
3.4.2
1.00
- DISA · 3 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
CCI1 mapping
CCI-000366
1.00
- DISA · 3 · disa_xccdf · related
Details
Check Text (C-216309r959010_chk)
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 (F-17543r371016_fix)
Change the mode of the .Xauthority files.
Procedure:
# chmod 0600 .Xauthority