what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Microsoft SQL Server Privilege Escalation / SQL Injection

Microsoft SQL Server Privilege Escalation / SQL Injection
Posted Apr 12, 2012
Authored by Martin Rakhmanov | Site appsecinc.com

Team SHATTER Security Advisory - Microsoft SQL Server versions 2005, 2008, and 2008 R2 suffer from a SQL injection vulnerability in the RESTORE DATABASE command that can lead to privilege escalation.

tags | advisory, sql injection
SHA-256 | b64d5300f1a7ad77731e4342eabd0820c75171ca63e4b9ccb158653ee331263e

Microsoft SQL Server Privilege Escalation / SQL Injection

Change Mirror Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AppSecInc Team SHATTER Security Advisory

Privilege escalation via internal sql injection in RESTORE DATABASE command.

Risk Level:
Medium

Affected versions:
Microsoft SQL Server 2005, 2008, 2008 R2

Remote exploitable:
Yes

Credits:
This vulnerability was discovered and researched by Martin Rakhmanov of
Application Security Inc.

Details:
RESTORE DATABASE command is prone to internal sql injection allowing
malicious users to run SQL code with highest privileges.
To exploit this vulnerability an attacker must possess CREATE DATABASE
privilege to be able to create and restore database.

Impact:
Users having CREATE DATABASE permission can become system administrators.

Vendor Status:
Vendor was contacted and a patch was released for Microsoft SQL Server 2008.

Workaround:
Revoke CREATE DATABASE privilege from untrusted users.

Fix:
Microsoft SQL Server 2005: no fix planned.
Microsoft SQL Server 2008: apply Service Pack 3.
Microsoft SQL Server 2008 R2: no fix planned.

Links:
https://www.teamshatter.com/?p=3373

Timeline:
Vendor Notification - 2011-05-10
Vendor Response - 2011-05-11
Fix - 2011-11-06
Public Disclosure - 2012-04-11


- - --
_____________________________________________
Copyright (c) 2012 Application Security, Inc.
http://www.appsecinc.com


Application Security, Inc's database security solutions have helped over
2000 organizations secure their databases from all internal and external
threats while also ensuring that those organizations meet or exceed
regulatory compliance and audit requirements.


Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct,
indirect, or consequential loss or damage arising from use of, or
reliance on, this information.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)

iEYEARECAAYFAk+F2mcACgkQRx91imnNIgFleQCfdqvrukds6UQOkTUaI1NlVmSM
ZHUAoJRpX6rA+kHKpnhuqvQVYPlfaCoZ
=U5x6
-----END PGP SIGNATURE-----
Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    0 Files
  • 13
    Sep 13th
    0 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    0 Files
  • 17
    Sep 17th
    0 Files
  • 18
    Sep 18th
    0 Files
  • 19
    Sep 19th
    0 Files
  • 20
    Sep 20th
    0 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close