Rule ID
SV-46139r1_rule
Version
V1R12
CCIs
Samba increases the attack surface of the system and must be restricted to communicate only with systems requiring access.
Examine the "smb.conf" file. # more /etc/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.
Edit the "/etc/samba/smb.conf" file and set the "hosts" option to permit only authorized hosts to access Samba.