More Info:

No security group should allow unrestricted inbound access to TCP port 1433 (MSSQL)

Risk Level

Medium

Address

Security

Compliance Standards

SOC2, GDPR, HITRUST, NISTCSF, PCIDSS, FedRAMP

Triage and Remediation

Remediation

To remediate the unrestricted MsSQL access in AWS, you can follow the below steps:

  1. Login to the AWS Management Console.

  2. Go to the RDS dashboard.

  3. Select the RDS instance that has unrestricted MsSQL access.

  4. Click on the “Modify” button.

  5. Scroll down to the “Network & Security” section.

  6. Under the “Security Group Rules” section, click on the “Edit” button.

  7. Remove the rule that allows unrestricted MsSQL access.

  8. Add a new rule that allows MsSQL access only from specific IP addresses or CIDR ranges.

  9. Click on the “Save Changes” button.

  10. Wait for the changes to be applied to the RDS instance.

By following the above steps, you have successfully remediated the unrestricted MsSQL access issue in AWS.

Additional Reading: