Check: GEN006120
HP-UX 11.31 STIG:
GEN006120
(in versions v1 r19 through v1 r13)
Title
The /etc/smb.conf file must be group-owned by root, bin, sys, or system. (Cat II impact)
Discussion
If the group-owner of the smb.conf file is not root or a system group, the file may be maliciously modified and the Samba configuration could be compromised.
Check Content
Check the group ownership of the smb.conf file. # find / -type f -name smb.conf | xargs -n1 ls -lL If the smb.conf file is not group-owned by root, bin, sys or other, this is a finding.
Fix Text
Change the group owner of the "smb.conf" file. # chgrp root /etc/samba/smb.conf
Additional Identifiers
Rule ID: SV-35219r1_rule
Vulnerability ID: V-1056
Group Title: GEN006120
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 |