HIGH
Source
CloudSploit
ID
open-cifs

Open CIFS

Determines if UDP port 445 for CIFS is open to the public

While some ports such as HTTP and HTTPS are required to be open to the public to function properly, more sensitive services such as CIFS should be restricted to known IP addresses.

Follow the appropriate remediation steps below to resolve the issue.

  1. Log into the Google Cloud Platform Console.

  2. Scroll down the left navigation panel and choose the “Networking” to select the “Firewall rules” option under the “VPC network.”Step

  3. On the “Firewall rules” page, select the “Firewall rule” which needs to be verified. Step

  4. On the selected “Firewall rules”, if “UDP port 445 for CIFS” is open to the public then the selected “Firewall rule” is not as per the best standards. Step

  5. Repeat steps number 2 - 4 to verify another “Firewall rule” in the network.

  6. Navigate to “VPC network” and choose the “Firewall rules” option under the “Networking” and select the “Firewall rule” which needs to be restricted to known IP addresses for UDP port 445 for CIFS.Step

  7. On the “Firewall rules” page, click on the “Edit” button at the top and enter the “Source IP ranges” and enter the “IP Address”.Step

  8. Click on the “Save” button at the bottom to make the changes.Step

  9. Repeat steps number 6 - 8 to restrict UDP port 445 to known IP addresses.