Check: GEN006120
HP-UX 11.23 STIG:
GEN006120
(in version v1 r8)
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 |
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 |