Microsoft SQL Server Query Type Conversion memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.2$0-$5k0.00

Summaryinfo

A vulnerability classified as problematic was found in Microsoft SQL Server. The impacted element is an unknown function of the component Query Type Conversion Handler. The manipulation results in memory corruption. This vulnerability is known as CVE-2008-0086. It is possible to launch the attack remotely. No exploit is available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability classified as critical has been found in Microsoft SQL Server (Database Software) (version unknown). Affected is an unknown function of the component Query Type Conversion Handler. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

Buffer overflow in the convert function in Microsoft SQL Server 2000 SP4, 2000 Desktop Engine (MSDE 2000) SP4, and 2000 Desktop Engine (WMSDE) allows remote authenticated users to execute arbitrary code via a crafted SQL expression.

The bug was discovered 07/08/2008. The weakness was published 07/09/2008 by Brett Moore as MS08-040 as confirmed bulletin (Technet). The advisory is shared for download at microsoft.com. This vulnerability is traded as CVE-2008-0086 since 01/03/2008. It is possible to launch the attack remotely. The successful exploitation requires a authentication. There are neither technical details nor an exploit publicly available.

It is declared as proof-of-concept. As 0-day the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 34311 (MS08-040: Microsoft SQL Server Multiple Privilege Escalation (941203) (uncredentialed check)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Windows and running in the context r. The commercial vulnerability scanner Qualys is able to test this issue with plugin 19236 (Microsoft SQL Server Could Allow Elevation of Privilege (MS08-040)).

Upgrading eliminates this vulnerability. Applying the patch MS08-040 is able to eliminate this problem. The bugfix is ready for download at microsoft.com. The best possible mitigation is suggested to be upgrading to the latest version. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 6033.

The vulnerability is also documented in the databases at X-Force (41460), Tenable (34311), SecurityFocus (BID 30082†), OSVDB (46772†) and Secunia (SA30970†). Similar entries are available at VDB-3781, VDB-3782, VDB-3779 and VDB-44312. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Vendor

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.1
VulDB Meta Temp Score: 8.2

VulDB Base Score: 9.1
VulDB Temp Score: 8.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 34311
Nessus Name: MS08-040: Microsoft SQL Server Multiple Privilege Escalation (941203) (uncredentialed check)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 800105
OpenVAS Name: MS SQL Server Elevation of Privilege Vulnerabilities (941203)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Patch: MS08-040
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

ISS Proventia IPS: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍

Timelineinfo

01/03/2008 🔍
07/08/2008 +187 days 🔍
07/08/2008 +0 days 🔍
07/08/2008 +0 days 🔍
07/08/2008 +0 days 🔍
07/08/2008 +0 days 🔍
07/09/2008 +1 days 🔍
07/09/2008 +0 days 🔍
07/21/2008 +12 days 🔍
09/29/2008 +70 days 🔍
08/12/2019 +3969 days 🔍

Sourcesinfo

Vendor: microsoft.com

Advisory: MS08-040
Researcher: Brett Moore
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2008-0086 (🔍)
GCVE (CVE): GCVE-0-2008-0086
GCVE (VulDB): GCVE-100-3780

OVAL: 🔍
IAVM: 🔍

X-Force: 41460
SecurityFocus: 30082 - Microsoft SQL Server Convert Function Remote Memory Corruption Vulnerability
Secunia: 30970
OSVDB: 46772 - CVE-2008-0086 - MS08-040 - Microsoft - SQL Server - Privilege Escalation Issue
SecurityTracker: 1020441
Vulnerability Center: 18766 - [MS08-040] Microsoft SQL Server Allows Privileged Code Execution via a Crafted SQL Expression, High
Vupen: ADV-2008-2022

See also: 🔍

Entryinfo

Created: 07/21/2008 15:19
Updated: 08/12/2019 22:19
Changes: 07/21/2008 15:19 (91), 08/12/2019 22:19 (13)
Complete: 🔍
Cache ID: 216:7EC:103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!