Check: GEN005220
HP-UX 11.31 STIG:
GEN005220
(in versions v1 r19 through v1 r13)
Title
.Xauthority or X*.hosts (or equivalent) file(s) must be used to restrict access to the X server. (Cat II impact)
Discussion
If access to the X server is not restricted, the user's X session may be compromised.
Check Content
Determine if the X server is running. # ps -ef |grep -v grep | grep X Determine if xauth is being used. # xauth # xauth> list If the above command sequence does not show any host other than the localhost, then xauth is not being used. Search the system for an X*.hosts files (typically found only in /etc), where * is a display number that may be used to limit X window connections. If no files are found, X*.hosts files are not being used. If the X*.hosts files contain any unauthorized hosts, this is a finding. If both xauth and X*.hosts files are not being used, this is a finding.
Fix Text
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.
Additional Identifiers
Rule ID: SV-38287r1_rule
Vulnerability ID: V-12016
Group Title: GEN005220
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000297 |
The organization reviews and updates the baseline configuration of the information system when required due to organization-defined circumstances. |
Controls
Number | Title |
---|---|
CM-2 (1) |
Reviews And Updates |