VDB-5080 · OSVDB 81112 · GCVE-100-5080

Microsoft SQL Server 2005/2008/2008R2 CREATE DATABASE sql injection

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.
7.5$0-$5k0.00

Summaryinfo

A vulnerability described as critical has been identified in Microsoft SQL Server 2005/2008/2008R2. This impacts the function CREATE DATABASE. Executing a manipulation can lead to sql injection. It is possible to launch the attack remotely. Furthermore, an exploit is available. Applying a patch is advised to resolve this issue.

Detailsinfo

A vulnerability has been found in Microsoft SQL Server 2005/2008/2008R2 (Database Software) and classified as critical. This vulnerability affects the function CREATE DATABASE. The manipulation with an unknown input leads to a sql injection vulnerability. The CWE definition for the vulnerability is CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. As an impact it is known to affect confidentiality, integrity, and availability. Microsoft SQL Server is a relational database server, developed by Microsoft: it is a software product whose primary function is to store and retrieve data as requested by other software applications.

The bug was discovered 05/10/2011. The weakness was published 04/11/2012 by Martin Rakhmanov as not defined blog post (Website). The advisory is shared for download at teamshatter.com. The public release has been coordinated with the vendor. The attack can be initiated remotely. Technical details and also a private exploit are known. The MITRE ATT&CK project declares the attack technique as T1505. RESTORE DATABASE command is prone to internal sql injection allowing malicious users to run SQL code with highest privileges.

It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 180 days. During that time the estimated underground price was around $25k-$100k. To exploit this vulnerability an attacker must possess CREATE DATABASE privilege to be able to create and restore database.

Applying the patch SP3 (2008 only) is able to eliminate this problem. The bugfix is ready for download at microsoft.com. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at OSVDB (81112†). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.3
VulDB Meta Temp Score: 7.5

VulDB Base Score: 8.3
VulDB Temp Score: 7.5
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

Exploitinginfo

Class: Sql injection
CWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Private
Status: Proof-of-Concept
Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍

Patch: SP3 (2008 only)

Timelineinfo

05/10/2011 🔍
05/10/2011 +0 days 🔍
05/11/2011 +1 days 🔍
11/06/2011 +179 days 🔍
04/11/2012 +157 days 🔍
04/14/2012 +3 days 🔍
04/16/2012 +2 days 🔍
04/26/2018 +2201 days 🔍

Sourcesinfo

Vendor: microsoft.com

Advisory: teamshatter.com
Researcher: Martin Rakhmanov
Status: Not defined
Coordinated: 🔍

GCVE (VulDB): GCVE-100-5080
OSVDB: 81112

scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 04/16/2012 16:54
Updated: 04/26/2018 11:04
Changes: 04/16/2012 16:54 (55), 04/26/2018 11:04 (2)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!