Check: GEN006220
VMware ESX 3 Server:
GEN006220
(in version v1 r2)
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. # 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-1030r3_rule
Vulnerability ID: V-1030
Group Title: GEN006220
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 |