J-Security Center

Title: Microsoft SQL Weak Password Encryption Vulnerability

Severity: MODERATE

Description:

If 'Always prompt for login name and password' is not set, and Windows Integrated Security is not being used, Enterprise Manager for SQL Server 7 will save the login ID and password in the registry key HKCU\SOFTWARE\Microsoft\MSSQLServer\SQLEW\Registered Server X. The algorithm used to encrypt the password consists of XORing each character with a two byte value dependant on the character's position in the string.

If 'Always prompt for login name and password' is set, or Windows Integrated Security is used, the ID and password are not saved at all.

Reportedly SQL Server 6.5 stores the password in the same location but in plain text.

Affected Products:

  • Microsoft SQL Server 6.5
  • Microsoft SQL Server 7.0

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.