Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-22435 | GEN003930 | SV-35144r1_rule | ECLP-1 | Medium |
Description |
---|
Failure to give group-ownership of the hosts.lpd file to root, bin, sys, or system provides the members of the owning group and possible unauthorized users, with the potential to modify the hosts.lpd file. Unauthorized modifications could disrupt access to local printers from authorized remote hosts or permit unauthorized remote access to local printers. |
STIG | Date |
---|---|
HP-UX 11.31 Security Technical Implementation Guide | 2017-05-19 |
Check Text ( C-36547r1_chk ) |
---|
When rlpdaemon is started by inetd, access control is provided via the file /var/adm/inetd.sec to allow or prevent a host from making requests. When rlpdaemon is not started by inetd(1M), all requests must come from one of the machines listed in the file /etc/hosts.equiv or /var/spool/lp/.rhosts. When /var/spool/lp/.rhosts is used for access, the user name should be lp. Check the group ownership of the /etc/hosts.lpd (or equivalent) file(s). # ls -lL /var/spool/lp/.rhosts # ls -lL /var/adm/inetd.sec # ls -lL /etc/hosts.equiv If the file is not group-owned by root, bin, sys, or other, this is a finding. |
Fix Text (F-31913r1_fix) |
---|
Change the group-owner of the hosts.lpd (or equivalent) file(s). # chgrp root /etc/hosts.lpd |