Skip to main content

Security Exposure

A database listener on the internet exposes logins and data directly to remote attackers. Microsoft Defender for SQL includes alerts for suspected brute force attacks, and SQL Server Authentication is less secure than Windows Authentication.

Hardening

  • Do not expose 1433 to the internet; allow it only from application servers and admin networks.
  • Prefer Windows Authentication, which Microsoft describes as much more secure than SQL Server Authentication.
  • Encrypt client connections with TLS by configuring a server certificate.
  • Keep the sa login disabled and give any SQL logins strong, unique passwords.
  • Apply the latest SQL Server and operating system patches.

Monitoring

Enable SQL Server Audit at the server level and track failed logins. Alert on login attempts from addresses outside the application and admin ranges.

MS SQL Server Vulnerabilities

1 CVEs
CVECVSS
CVE-2019-1068KEV
Microsoft SQL Server Remote Code Execution Vulnerability
8.8

Frequently Asked Questions

Is port 1433 TCP or UDP?→

The Database Engine listens on TCP 1433. UDP 1434 is used by the SQL Server Browser service.

Do named SQL Server instances use port 1433?→

Not by default. Microsoft states named instances use dynamic ports chosen at startup, unless configured with a fixed port.

Which vulnerabilities affect the service on port 1433?→

This database lists 1 CVE related to MS SQL Server, 1 of them confirmed as exploited by CISA. Examples: CVE-2019-1068.

Port assignments from the IANA Service Name and Transport Protocol Port Number Registry. Services can be configured to run on any port, so traffic on port 1433 is not guaranteed to be MS SQL Server. Exploited-in-the-wild data from the CISA KEV catalog (CC0).