Check: GEN003950
HP-UX 11.31 STIG:
GEN003950
(in versions v1 r19 through v1 r13)
Title
The hosts.lpd (or equivalent) file must not have an extended ACL. (Cat II impact)
Discussion
Excessive permissions on the hosts.lpd (or equivalent) file may permit unauthorized modification. Unauthorized modifications could disrupt access to local printers from authorized remote hosts or permit unauthorized remote access to local printers.
Check Content
Locate any print service configuration file(s) on the system. HP vendor documentation identifies the following names and locations of print service configuration files on the system that can be checked via the following commands: # ls -lL /var/spool/lp/.rhosts # ls -lL /var/adm/inetd.sec # ls -lL /etc/hosts.equiv If the permissions include a "+", the file has an extended ACL, this is a finding.
Fix Text
Remove the optional ACL from the file. # chacl -z <print service configuration file>
Additional Identifiers
Rule ID: SV-35150r1_rule
Vulnerability ID: V-22436
Group Title: GEN003950
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. |
Controls
Number | Title |
---|---|
AC-6 |
Least Privilege |