Check: GEN001372
HP-UX 11.31 STIG:
GEN001372
(in versions v1 r19 through v1 r13)
Title
The /etc/nsswitch.conf file must be group-owned by root, bin, sys, or system. (Cat II impact)
Discussion
The nsswitch.conf file (or equivalent) configures the source of a variety of system security information including account, group, and host lookups. Malicious changes could prevent the system from functioning or compromise system security.
Check Content
Check the group ownership of the nsswitch.conf file. Procedure: # ls -lL /etc/nsswitch.conf If the file is not group-owned by root, bin, sys, or other, this is a finding.
Fix Text
Change the group-owner of the /etc/nsswitch.conf file to root, bin, sys, or other. Procedure: # chgrp root /etc/nsswitch.conf
Additional Identifiers
Rule ID: SV-38317r1_rule
Vulnerability ID: V-22328
Group Title: GEN001372
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000225 |
The organization employs the concept of least privilege, allowing only authorized accesses for users (and processes acting on behalf of users) which are necessary to accomplish assigned tasks in accordance with organizational missions and business functions. |
Controls
Number | Title |
---|---|
AC-6 |
Least Privilege |