Check: GEN006220
Solaris 10 X86 STIG:
GEN006220
(in versions v2 r4 through v1 r17)
Title
The smb.conf file must use the hosts option to restrict access to Samba. (Cat II impact)
Discussion
Samba increases the attack surface of the system and must be restricted to communicate only with systems requiring access.
Check Content
Examine the smb.conf 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: # more /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf If the hosts option is not present to restrict access to a list of authorized hosts and networks, this is a finding.
Fix Text
Edit the smb.conf file and set the hosts option to permit only authorized hosts to access Samba.
Additional Identifiers
Rule ID: SV-227933r603266_rule
Vulnerability ID: V-227933
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 |