More Info:

Ensure that your Microsoft Azure SQL database servers are accessible through private endpoints instead of public IP addresses or service endpoints, in order to eliminate the exposure from the public Internet.

Risk Level

Medium

Address

Security

Compliance Standards

GDPR, CISAZURE, CBP, HITRUST, SOC2

Triage and Remediation

Remediation

Sure, here are the step-by-step instructions to remediate the misconfiguration of “Publicly Accessible SQL Servers” in Azure:

  1. Log in to the Azure Portal (https://portal.azure.com/).
  2. Navigate to the SQL servers page by clicking on “SQL servers” in the left-hand menu.
  3. Select the SQL server that is publicly accessible.
  4. Click on the “Firewalls and virtual networks” tab.
  5. Under “Firewall settings,” select “Selected networks.”
  6. Click on the “Add client IP” button to add the IP address of your computer to the list of allowed IPs.
  7. If you want to allow access from other IPs, you can add them by clicking on the “Add IP range” button.
  8. Click on the “Save” button to save the changes.

By following these steps, you have now remediated the misconfiguration of “Publicly Accessible SQL Servers” in Azure and restricted access to only the allowed IPs.