Check: GEN006235
Solaris 10 SPARC STIG:
GEN006235
(in versions v2 r4 through v1 r19)
Title
Samba must be configured to not allow guest access to shares. (Cat II impact)
Discussion
Guest access to shares permits anonymous access and is not permitted.
Check Content
Check the encryption setting for the Samba configuration. 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: # grep -i 'guest ok' /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf If the setting exists and is set to yes, this is a finding.
Fix Text
Edit the smb.conf file and change the guest ok setting to no.
Additional Identifiers
Rule ID: SV-227029r603265_rule
Vulnerability ID: V-227029
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 |