Vulnerability Name:

CVE-2001-0542 (CCN-7724)

Assigned:2001-12-20
Published:2001-12-20
Updated:2018-10-12
Summary:Buffer overflows in Microsoft SQL Server 7.0 and 2000 allow attackers with access to SQL Server to execute arbitrary code through the functions (1) raiserror, (2) formatmessage, or (3) xp_sprintf.
Note: the C runtime format string vulnerability reported in MS01-060 is identified by CVE-2001-0879.
CVSS v3 Severity:7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-Other
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2001-0542

Source: BUGTRAQ
Type: UNKNOWN
20011221 @stake advisory: Multiple overflow and format string vulnerabilities in in Microsoft SQL Server

Source: ATSTAKE
Type: Patch, Vendor Advisory
A122001-1

Source: CCN
Type: CERT Advisory CA-2002-22
Multiple Vulnerabilities in Microsoft SQL Server

Source: CCN
Type: US-CERT VU#700575
Buffer overflows in Microsoft SQL Server 7.0 and SQL Server 2000

Source: CERT-VN
Type: US Government Resource
VU#700575

Source: CCN
Type: Microsoft Security Bulletin MS01-060
SQL Server Text Formatting Functions Contain Unchecked Buffers

Source: CCN
Type: Microsoft Security Bulletin MS02-007
SQL Server Remote Data Source Function Contain Unchecked Buffers

Source: CCN
Type: Microsoft Security Bulletin MS02-020
SQL Extended Procedure Functions Contain Unchecked Buffers (Q319507)

Source: CCN
Type: Microsoft Security Bulletin MS02-034
Cumulative Patch for SQL Server (Q316333)

Source: CCN
Type: Microsoft Security Bulletin MS02-038
Unchecked Buffer in SQL Server 2000 Utilities Could Allow Code Execution (Q316333)

Source: CCN
Type: Microsoft Security Bulletin MS02-039
Buffer Overruns in SQL Server 2000 Resolution Service Could Enable Code Execution (Q323875)

Source: CCN
Type: Microsoft Security Bulletin MS02-043
Cumulative Patch for SQL Server (Q316333)

Source: CCN
Type: Microsoft Security Bulletin MS02-056
Cumulative Patch for SQL Server (Q316333)

Source: CCN
Type: Microsoft Security Bulletin MS02-061
Elevation of Privilege in SQL Server Web Tasks (Q316333)

Source: CCN
Type: Microsoft Security Bulletin MS03-031
Cumulative Patch for Microsoft SQL Server (815495)

Source: CCN
Type: OSVDB ID: 10144
Microsoft SQL Server raiserror Function Overflow

Source: CCN
Type: OSVDB ID: 10145
Microsoft SQL Server formatmessage Function Overflow

Source: CCN
Type: OSVDB ID: 10146
Microsoft SQL Server xp_sprintf Function Overflow

Source: CCN
Type: OSVDB ID: 10166
Microsoft SQL Server raiserror Function DoS

Source: CCN
Type: OSVDB ID: 10181
Microsoft SQL Server formatmessage Function DoS

Source: CCN
Type: OSVDB ID: 10183
Microsoft SQL Server xp_sprintf Function DoS

Source: BID
Type: Patch, Vendor Advisory
3733

Source: CCN
Type: BID-3733
Microsoft SQL-Server Buffer Overflow Vulnerability

Source: CCN
Type: @stake, Inc. Security Advisory A122001-1
Multiple overflow and format string vulnerabilities in Microsoft SQL Server

Source: MS
Type: UNKNOWN
MS01-060

Source: XF
Type: UNKNOWN
mssql-text-message-bo(7724)

Source: XF
Type: UNKNOWN
mssql-text-message-bo(7724)

Source: OVAL
Type: UNKNOWN
oval:org.mitre.oval:def:83

Source: CCN
Type: Microsoft Knowledge Base Article 305601
MS01-060: FIX: CRT String Format Functions May Underwrite Buffer

Vulnerable Configuration:Configuration 1:
  • cpe:/a:microsoft:sql_server:7.0:-:*:*:*:*:*:*
  • OR cpe:/a:microsoft:sql_server:2000:-:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:microsoft:sql_server:7.0:-:*:*:*:*:*:*
  • OR cpe:/a:microsoft:sql_server:2000:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.mitre.oval:def:83
    V
    Microsoft SQL Server 3-Function Buffer Overflow
    2011-05-16
    BACK
    microsoft sql server 7.0
    microsoft sql server 2000
    microsoft sql server 7.0
    microsoft sql server 2000