Check: GEN006150
Solaris 10 SPARC STIG:
GEN006150
(in versions v2 r4 through v1 r19)
Title
The smb.conf file must not have an extended ACL. (Cat II impact)
Discussion
Excessive permissions could endanger the security of the Samba configuration file and, ultimately, the system and network.
Check Content
Check the group ownership of the Samba configuration file. Default locations for this file include /etc, /etc/sfw, /etc/samba, and /etc/sfw/samba. If the system has Samba installed in non-standard locations, also check the smb.conf in those locations. Procedure: # ls -lL /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix Text
Remove the extended ACL from the file. # chmod A- /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf
Additional Identifiers
Rule ID: SV-227021r603265_rule
Vulnerability ID: V-227021
Group Title: SRG-OS-000480
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |