DB: MS-SQL Server pwdencrypt() Buffer Overflow

This signature detects attempts to exploit a known vulnerability against Microsoft SQL Server. Microsoft SQL Server 2000 Service Pack 2 and prior are vulnerable. Attackers can send a long string to the pwdencrypt() function in SQL Server to crash the SQL service. The service restarts automatically, but the operating system does not.

Extended Description

A buffer overflow vulnerability has been reported in SQL Server 2000. The vunerability is a result of an unchecked buffer when using the password encrypt procedure. This procedure is used by administrators to provides support for the storage of SQL Server Authentication credentials. The overrun condition is due to an unbounded data copy operation that occurs when processing the procedure arguments. Attackers may exploit this vulnerability by invoking the password encrypt procedure with excessive input. This issue may be related to the vulnerabilities reported in Bugtraq ID 4847.

Affected Products

Microsoft sql_server_2000

Short Name
DB:MS-SQL:PWD-ENCRYPT
Severity
Major
Recommended
False
Recommended Action
None
Category
DB
Keywords
Buffer CA-2002-22 CVE-2002-0624 MS-SQL Overflow Server bid:5014 pwdencrypt()
Release Date
04/22/2003
Supported Platforms

srx-branch-12.3

srx-19.3

srx-branch-19.3

vsrx3bsd-19.2

srx-branch-19.4

vsrx-19.4

mx-12.3

mx-19.4

vmx-19.4

mx-19.3

vsrx3bsd-19.4

srx-19.4

vsrx-12.3

vmx-19.3

vsrx-19.2

srx-12.3

Sigpack Version
3339
Port
TCP/1433
False Positive
Occasionally
Vendors

Microsoft

CVSS Score

7.5

Found a potential security threat?