The smb.conf file must use the hosts option to restrict access to Samba.

From HP-UX 11.31 Security Technical Implementation Guide

Part of GEN006220

Associated with IA controls: ECSC-1

Associated with: CCI-000225

SV-35107r1_rule The smb.conf file must use the hosts option to restrict access to Samba.

Vulnerability discussion

Samba increases the attack surface of the system and must be restricted to communicate only with systems requiring access.

Check content

Fix text

Edit the smb.conf file and set the hosts option to permit only authorized hosts access Samba. An example might be: hosts allow = 127.0.0.1 192.168.2.0/24 192.168.3.0/24 hosts deny = 0.0.0.0/0 The above will only allow SMB connections from the localhost and from the two private networks 192.168.2 and 192.168.3. All other connections will be refused as soon as the client sends its first packet.

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer