NetBIOS share full access by Everyone group

Risk Level: Medium risk vulnerability  Medium

Check or Attack Name: All Access NetBIOS share - Everyone

Platforms: Windows NT, Samba, Windows 95
Description:

A NetBIOS share has been detected with no access control. This misconfiguration can allow access to the entire hard drive on unpatched versions of Windows NT.

In Windows NT, it is common to find shares with all access enabled, since this is the default when the share is created. It is best to explicitly set the access control list on shares. If this vulnerability was detected on a version of Windows NT prior to Service Pack 3 (SP3), an attacker can use shares to cause the machine to crash.

Remedy:

Set the permissions explicitly or remove the share.

  • Grant share access only to approved users.
    1. From the local computer, open Windows NT Explorer.
    2. Navigate to the shared folder.
    3. Right-click the shared folder name and select Sharing to display the Properties dialog box.
    4. Click Permissions.
    5. Use these guidelines to review the listed permissions:
      • Remove or change any permissions such as Everyone - Full Control. This default permission allows all users to read, modify, and even change ownership and permissions on the items in the share.
      • Review any names with Change or Full Control permissions and determine if the permission is appropriate. Consider using Read Only or No Access if these names do not need to modify items in the share.
      • Review any names that should not be in the list, and remove the name or change their permission as appropriate.

—OR—

Windows: To remove a share, choose one of these options:

  • Remove the share from a local computer:

    1. From the local computer, open Windows NT Explorer.
    2. Navigate to the shared folder.
    3. Right-click the shared folder name and select Sharing to display the Properties dialog box.
    4. To disallow access to all users, select the Not Shared check box.

  • Remove the share from a remote computer:

    1. From a remote computer, open the Server Manager.
    2. Select the host name.
    3. From the Computer menu, select Shared Directories to display the Shared Directories dialog box.
    4. Select the NetBIOS share.
    5. Choose Stop Sharing.

  • Remove the share from the command line:

    From a command prompt, type: net share sharename /delete

Other Operating Systems: Enable some form of access control as described in your OS documentation.

References:

Microsoft Knowledge Base Article Q128079, Updated Drivers for File and Printer Sharing Security, http://support.microsoft.com/support/kb/articles/q128/0/79.asp


X-Force Logo
Know Your Risks