SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Database)  >   Microsoft SQL Server Vendors:   Microsoft
Microsoft SQL Server May Let Remote Authenticated Users Take Full Control of the Database Server and the Underlying Operating System
SecurityTracker Alert ID:  1001734
SecurityTracker URL:  http://securitytracker.com/id/1001734
CVE Reference:   CAN-2001-0344   (Links to External Site)
Date:  Jun 13 2001
Impact:   Execution of arbitrary code via network, Root access via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): Microsoft SQL Server 7.0, Microsoft SQL Server 2000 Gold
Description:   Microsoft has reported a vulnerability in SQL Server that may allow an authenticated remote user to obtain elevated privileges and take full control of the database server and the underlying operating system.

It is reported that when a connection to a SQL Server is terminated, the connection remains cached for a short period of time (for performance reasons). There is apparently a SQL query method that contains a vulnerability that allows one user's query to re-use a previously terminated connection belonging to the system administrator account that still resides in the cache.

This vulnerability could allow a remote user to execute the query using the administrator's security context, giving the remote user the ability to take any action on the database. By running extended stored procedures, the remote user could execute arbitrary code on the server and obtain administrator-level privileges on the server (operating system).

The vulnerability reportedly can only be triggered if configured to use Mixed
Mode, which the vendor strongly recommends against, and if the user is authenticated.

Impact:   A remote authenticated user could gain system administrator privileges on both the database server and the underlying server (operating system).
Solution:   The vendor has released a patch. See the Vendor URL for patch information.
Vendor URL:  www.microsoft.com/technet/security/bulletin/MS01-032.asp (Links to External Site)
Cause:   Access control error, State error
Underlying OS:   Windows (NT), Windows (2000)

Message History:   This archive entry has one or more follow-up message(s) listed below.
(CIAC Issues Bulletin L-095) Re: Microsoft SQL Server May Let Remote Authenticated Users Take Full Control of the Database Server and the Underlying Operating System   (CIAC Mail User <ciac@rumpole.ciac.org>)
CIAC has issued a security bulletin.



 Source Message Contents

Date:  Tue, 12 Jun 2001 16:04:51 -0700
Subject:  Microsoft Security Bulletin MS01-032


The following is a Security  Bulletin from the Microsoft Product Security
Notification Service.

Please do not  reply to this message,  as it was sent  from an unattended
mailbox.
                    ********************************

-----BEGIN PGP SIGNED MESSAGE-----

- ----------------------------------------------------------------------
Title:      SQL Query Method Enables Cached Administrator Connection
            to be Reused
Date:       12 June 2001
Software:   Microsoft SQL Server 2000 and SQL Server 7.0
Impact:     Privilege elevation
Bulletin:   MS01-032

Microsoft encourages customers to review the Security Bulletin at: 
http://www.microsoft.com/technet/security/bulletin/MS01-032.asp.
- ----------------------------------------------------------------------

Issue:
======
When a client connection to a SQL Server is terminated, it remains
cached for a short period  of time for performance reasons. One SQL
query method contains a flaw that has the effect of  making it
possible for one user's query to reuse a cached connection that
belonged to the sa  account.

Exploiting this vulnerability would enable an attacker to execute the
query using the  administrator's security context. This would give
her the ability to take any desired action  on the database;
moreover, it would give her the ability to run extended stored
procedures,  thereby giving her the opportunity to run code of her
choice and assume
de facto control of the server itself. 

Mitigating Factors:
====================
 - The vulnerability only affects servers configured to use Mixed
Mode.
   Microsoft strongly recommends against using Mixed Mode, and
   recommends using Windows Authentication mode instead. Customers
who
   have configured their servers to use Windows Authentication mode
   are not affected by this vulnerability. 
 - Terminated connections are only cached for a short period. The
   attacker would need to time her attack in order to occur during
the
   period when an administrator's connection was in the cache. 
 - The query method at issue here can only be executed by an
   authenticated user. Not only would this limit the number of users
   who could exploit the vulnerability, it also would allow the
action
   to be audited.

Patch Availability:
===================
 - A patch is available to fix this vulnerability. Please read the 
   Security Bulletin
   http://www.microsoft.com/technet/security/bulletin/ms01-032.asp
   for information on obtaining this patch.

- ---------------------------------------------------------------------

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED
"AS IS" WITHOUT  WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL
WARRANTIES, EITHER EXPRESS OR IMPLIED,  INCLUDING THE WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO  EVENT
SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY
DAMAGES WHATSOEVER  INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL  DAMAGES, EVEN IF
MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
POSSIBILITY  OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION
OR LIMITATION OF LIABILITY FOR  CONSEQUENTIAL OR INCIDENTAL DAMAGES
SO THE FOREGOING LIMITATION MAY NOT APPLY.

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.3

iQEVAwUBOyagEY0ZSRQxA/UrAQEb2Af/VDCsh+ZXukM5PVZavO6EkuKtshWRRhgc
SZXG4QvKmJgPrt8KDZ9uUNkzTcqmfs1fRkEcccc5ZJX2RGNAG1OrytGtwgreZGEy
W+K8MNearZybDgwTUwwXh8fGfVubwzk6KdV+20kLYA37Ll9psyCLWnWeAk8o/ZZ6
xP1dU5CH7VukdMl8k2pIb1bcAqr/KwLMgUowvlSyAxszE+QgYBqlivEjZBxRmUGQ
ho+JOyzyUmtaN5nE3B0+PZaWvg41e2ssp5vpcM7IUCoe7Ptqzl3gqbnlUyWGMAbq
QmTxvfL6m+GP9ZpP8pQULIPnjM2FlG9cAu//TzxZEHiVCMybrQ32Kw==
=iISc
-----END PGP SIGNATURE-----

   *******************************************************************
You have received  this e-mail bulletin as a result  of your registration
to  the   Microsoft  Product  Security  Notification   Service.  You  may
unsubscribe from this e-mail notification  service at any time by sending
an  e-mail  to  MICROSOFT_SECURITY-SIGNOFF-REQUEST@ANNOUNCE.MICROSOFT.COM
The subject line and message body are not used in processing the request,
and can be anything you like.

To verify the digital signature on this bulletin, please download our PGP
key at http://www.microsoft.com/technet/security/notify.asp.

For  more  information on  the  Microsoft  Security Notification  Service
please  visit  http://www.microsoft.com/technet/security/notify.asp.  For
security-related information  about Microsoft products, please  visit the
Microsoft Security Advisor web site at http://www.microsoft.com/security.

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2012, SecurityGlobal.net LLC