Check: GEN006210
HP-UX 11.31 STIG:
GEN006210
(in versions v1 r19 through v1 r13)
Title
The /etc/smbpasswd file must not have an extended ACL. (Cat II impact)
Discussion
If the permissions of the smbpasswd file are too permissive, the smbpasswd file may be maliciously accessed or modified, potentially resulting in the compromise of Samba accounts.
Check Content
Check the group ownership of the Samba configuration file. # find / -name smbpasswd | xargs -n1 ls -lL If the permissions include a + the file has an extended ACL, this is a finding.
Fix Text
Remove the optional ACL from the file. # chacl -z <path>/smbpasswd
Additional Identifiers
Rule ID: SV-35105r1_rule
Vulnerability ID: V-22498
Group Title: GEN006210
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 |