Computer Security
[EN] securityvulns.ru no-pyccku


Related information

  Multiple bugs in Microsoft SQL Server (multiple bugs)

  Microsoft SQL Server Webtasks privilege upgrade (#NISR17102002)

  Microsoft Security Bulletin MS02-061: Elevation of Privilege in SQL Server Web Tasks (Q316333)

  Security Bulletin MS02-056: Cumulative Patch for SQL Server (Q316333)

  Microsoft SQL Server Stored procedures [sp_MSSetServerProper
tiesn and sp_MSsetalertinfo] (#NISR03092002A)

From:MICROSOFT <secure_(at)_microsoft.com>
Date:11.07.2002
Subject:Security Bulletin MS02-034: Cumulative Patch for SQL Server (Q316333)

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

- ----------------------------------------------------------------------
Title:      Cumulative Patch for SQL Server (Q316333)
Date:       10 July 2002
Software:   SQL Server 2000
Impact:     Elevation of privilege
Max Risk:   Moderate
Bulletin:   MS02-034

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

Issue:
======
This is a cumulative patch that includes the functionality of all
previously released patches for SQL Server 2000. In addition, it
eliminates three newly discovered vulnerabilities affecting SQL
Server 2000 and MSDE 2000 (but not any previous versions of SQL
Server or MSDE):

- - A buffer overrun vulnerability in a procedure used to encrypt SQL
 Server credential information. An attacker who was able to
 successfully exploit this vulnerability could gain significant
 control over the database and possibly the server itself depending
 on the account SQL server runs as.
- - A buffer overrun vulnerability in a procedure that relates to the
 bulk inserting of data in SQL Server tables. An attacker who was
 able to successfully exploit this vulnerability could gain
 significant control over the database and possibly the server
 itself.
- - A privilege elevation vulnerability that results because of in-
 correct permissions on the Registry key that stores the SQL Server
 service account information. An attacker who was able to success-
 fully exploit this vulnerability could gain greater privileges on
 the system than had been granted by the system administrator --
 potentially even the same rights as the operating system.


Mitigating Factors:
====================

Unchecked Buffer in Password Encryption Procedure
CVE-CAN-2002-0624
- - The effect of exploiting the vulnerability would depend on the
 specific configuration of the SQL Server service. SQL Server can
 be configured to run in a security context chosen by the admin-
 istrator. By default, this context is as a domain user. If the
 default was chosen, it would minimize the amount of damage an
 attacker could achieve.
- - The vulnerability could be blocked by following best practices.
 Specifically, untrusted users should not be able to load and
 execute queries of their choice on a database server. In addition,
 publicly accessible database queries should filter all inputs prior
 to processing.

Unchecked Buffer in Bulk Insert Procedure
CVE-CAN-2002-0641
- - An attacker would need to already possess significant rights on
 the server in order to exploit the vulnerability, as only Bulk
 Admins and full administrators have the ability to load and run
 queries that invoke the vulnerable procedure.
- - The effect of exploiting the vulnerability would depend on the
 specific configuration of the SQL Server service. SQL Server can
 be configured to run in a security context chosen by the admin-
 istrator. By default, it runs in the context of a domain user;
 if chosen, this would minimize the amount of damage an attacker
 could achieve.
- - Best practices could help minimize the vulnerability. Specifically,
 untrusted users should not be able to load and execute queries of
 their choice on a database server. In addition, publicly accessible
 database queries should filter all inputs prior to processing.

Incorrect Permission on SQL Server Service Account Registry Key
CVE-CAN-2002-0642
- - Successfully exploiting this vulnerability would require the
 ability to load and run queries on the system. By following best
 practices and limiting this ability to administrators, users can
 mitigate the threat posed by this vulnerability.
- - Successfully exploiting this vulnerability would also require a
 sysadmin or someone that has been granted xp_regwrite execute
 permissions.



Risk Rating:
============
Unchecked Buffer in Password Encryption Procedure
- Internet systems: Moderate
- Intranet systems: Moderate
- Client systems: Moderate

Unchecked Buffer in Bulk Insert Procedure
- Internet systems: Moderate
- Intranet systems: Moderate
- Client systems: Moderate

Incorrect Permission on SQL Server Service Account Registry Key
- Internet systems: Moderate
- Intranet systems: Moderate
- Client systems: Moderate

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

Acknowledgment:
===============
- Microsoft thanks Cesar Cerrudo and David Litchfield of Next
  Generation Security Software Ltd. for reporting the Unchecked
  Buffer in Bulk Update Procedure to us and working with us to
  protect customers.

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

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 7.1

iQEVAwUBPSzJXo0ZSRQxA/UrAQErqQf/VHkFJx9CySTHFyAoKor6xJTfw51hSg1S
AwTQ5yoAtj6VJwF7RJh76ae4D3aqJCQbsrE3r8WooFdwwPLpBZ1WL5EpgqFJTpbc
FnJ/uxWzIwgG5GZUdEBDJOpb9H985f7P5Tis9Ij4nuWxmnW1to+nrCwqiZoUf8Qq
W8Ef+D2kOrYDMbXU9dEU4TFcdYsjKFTmECZxENhRHQDAbin6iCJGvYNC1nd43AtT
G3v4h9J0e/v6016/T5zP0YT0otA1RI9RxijkS6fg0Ku+Wsw7s7ft1YKRq5uNb2B8
ezpUm/NPd1oco+7jazvGZC1zNeggQ+rhrm9R3zWzk3JURFUYX6uIaA==
=as/2
-----END PGP SIGNATURE-----



*******************************************************************

You have received this e-mail bulletin because of your subscription to the
Microsoft Product Security Notification Service.  For more information on this
service, please visit http://www.microsoft.com/technet/security/notify.asp.

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

To unsubscribe from the Microsoft Security Notification Service, please visit
the Microsoft Profile Center at http://register.microsoft.com/regsys/pic.asp

If you do not wish to use Microsoft Passport, you can unsubscribe from the
Microsoft Security Notification Service via email as described below:
Send an email to unsubscribe to the Service by following these steps:
a. Send an e-mail to securrem@microsoft.com. The subject line and the message
body are not used to process the subscription request, and can be anything you
like.
b. Send the e-mail.
c. You will receive a response, asking you to verify that you really want to
cancel your subscription. Compose a reply, and put "OK" in the message body.
(Without the quotes). Send the reply.
d. You will receive an e-mail telling you that your name has been removed from
the subscriber list.

For security-related information about Microsoft products, please visit the
Microsoft Security Advisor web site at http://www.microsoft.com/security.

About | Terms of use | Privacy Policy
© SecurityVulns, 3APA3A, Vladimir Dubrovin
Nizhny Novgorod