Microsoft SQL Server 2005/2008/2008R2 CREATE DATABASE sql injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.5 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.microsoft.com/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.3VulDB Meta Temp Score: 7.5
VulDB Base Score: 8.3
VulDB Temp Score: 7.5
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Sql injectionCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Patch: SP3 (2008 only)
Timeline
05/10/2011 🔍05/10/2011 🔍
05/11/2011 🔍
11/06/2011 🔍
04/11/2012 🔍
04/14/2012 🔍
04/16/2012 🔍
04/26/2018 🔍
Sources
Vendor: microsoft.comAdvisory: 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
Entry
Created: 04/16/2012 16:54Updated: 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.
No comments yet. Languages: en.
Please log in to comment.