Check: GEN005800
HP-UX 11.31 STIG:
GEN005800
(in versions v1 r19 through v1 r13)
Title
All NFS-shared system files and system directories must be owned by root, or a system account. (Cat II impact)
Discussion
Failure to give ownership of sensitive files or directories to root provides the designated owner and possible unauthorized users with the potential to access sensitive information or change system configuration which could weaken the system's security posture.
Check Content
Check for NFS shared file systems. # cat /etc/dfs/sharetab This will display all of the shared file systems. For each file system displayed, check the ownership. Check the owner of the NFS share configuration file. # echo ` ls -lLad <shared file system path>` | tr '\011' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//' If the files and directories are not owned by root or a system account, this is a finding.
Fix Text
Change the ownership of shared file systems not owned by root, or a system account. # chown root <path>
Additional Identifiers
Rule ID: SV-35191r3_rule
Vulnerability ID: V-931
Group Title: GEN005800
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 |