Microsoft SQL Server Database Backup File 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

A vulnerability classified as critical was found in Microsoft SQL Server (Database Software) (affected version unknown). Affected by this vulnerability is an unknown functionality of the component Database Backup File Handler. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

Buffer overflow in Microsoft SQL Server 2005 SP1 and SP2, and 2005 Express Edition SP1 and SP2, allows remote authenticated users to execute arbitrary code via a crafted insert statement.

The bug was discovered 07/08/2008. The weakness was released 07/09/2008 by Bret Moore with iDefense as MS08-040 as confirmed bulletin (Technet). The advisory is shared at microsoft.com. This vulnerability is known as CVE-2008-0106 since 01/07/2008. The attack can be launched remotely. The successful exploitation needs a single authentication. Neither technical details nor an exploit are publicly available.

It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $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 6108.

The vulnerability is also documented in the databases at X-Force (41463) and Tenable (34311). Entries connected to this vulnerability are available at 3782, 3780, 3779 and 44312.

Productinfo

Type

Vendor

Name

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
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: 🔍

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/07/2008 🔍
07/08/2008 +183 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: Bret Moore
Organization: iDefense
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2008-0106 (🔍)
OVAL: 🔍
IAVM: 🔍

X-Force: 41463
SecurityTracker: 1020441
Vulnerability Center: 18768 - [MS08-040] Microsoft SQL Server Allows Privileged Code Execution via a Crafted Insert Statement, High
SecurityFocus: 30118 - Microsoft SQL Server INSERT Statement Remote Memory Corruption Vulnerability
Secunia: 30970
OSVDB: 46770 - CVE-2008-0106 - MS08-040 - Microsoft - SQL Server - Privilege Escalation Issue
Vupen: ADV-2008-2022

See also: 🔍

Entryinfo

Created: 07/21/2008 15:19
Updated: 08/12/2019 22:29
Changes: 07/21/2008 15:19 (86), 08/12/2019 22:29 (19)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!