August 21, 2003 at 2:14 am
fyi, I'm sure you know this one already
-----BEGIN PGP SIGNED MESSAGE-----
- ----------------------------------------------------------------------
Title: Unchecked Buffer in MDAC Function Could Enable System
Compromise (Q326573)
Released: 31 July 2003
Revised: 20 August 2003 (version 2.0)
Software: Microsoft Data Access Components 2.5
Microsoft Data Access Components 2.6
Microsoft Data Access Components 2.7
Impact: Run code of the attacker's choice.
Max Risk: Critical
Bulletin: MS02-040
Microsoft encourages customers to review the Security Bulletin at:
http://www.microsoft.com/technet/security/bulletin/MS02-040.asp
http://www.microsoft.com/security/security_bulletins/MS02-040.asp
- ----------------------------------------------------------------------
Reason for Revision:
====================
Subsequent to the release of this bulletin, it was determined that
the vulnerability addressed is not with the OpenRowSet command
(which is a Microsoft SQL Server command) but rather that the
vulnerability is with the underlying MDAC component Open Database
Connectivity (ODBC), which is present in all versions of Windows.
Additionally, the original patch released with this did not install
correctly on some systems because of a flaw in the way that
Microsoft Windows Installer updated the System File Protection
cache. The bulletin has been updated to include this additional
information and to direct users to an updated patch.
Note: The patch for this security bulletin has been superceded by
the patch in MS03-033. Customers who are seeking the patch for
MS02-040 should instead install the patch for MS03-033.
Issue:
======
MDAC is a collection of components that are used to provide
database connectivity on Windows platforms. MDAC is a ubiquitous
technology, and it is likely to be present on most Windows systems:
By default, MDAC is included as part of Microsoft Windows XP,
Windows 2000, and Windows Millennium Edition.
MDAC is available for download as a stand-alone technology.
MDAC is either included in or installed by a number of other
products and technologies. For example, MDAC is included in the
Microsoft Windows NT(r) 4.0 Option Pack, as part of Microsoft Access,
and as part of SQL Server. Some MDAC components are also present as
part of Microsoft Internet Explorer even if MDAC itself is not
installed.
MDAC provides the underlying functionality for a number of database
operations, such as connecting to remote databases and returning
data to a client. Specifically, it is the MDAC component known as
Open Database Connectivity (ODBC) that provides this functionality.
A security vulnerability results because one of the ODBC functions
in MDAC that is used to connect to data sources contains an
unchecked buffer. An attacker could seek to exploit the
vulnerability by constructing a Web page that, when visited by the
user, could execute code of the attacker's choice with the user's
privileges. The Web page could be hosted on a Web site or sent
directly to the user in an e-mail message.
In the case of a system that is running SQL Server, an attacker
could seek to exploit this vulnerability by using the Transact-SQL
OpenRowSet command. An attacker who submits a database query that
contains a specially-malformed parameter within a call to
OpenRowSet could overrun the buffer, either to cause the computer
that is running SQL Server to fail or to cause the computer that is
running SQL Server to take actions that are dictated by the
attacker.
Mitigating Factors:
====================
- - Users who read e-mail messages as plain text would have to take
an action before an attacker could exploit the vulnerability to be
exploited.
- - Systems that are configured to disable active scripting in
Internet Explorer are not affected by this vulnerability.
- - In the Web-based attack scenario, a user would need to visit a
malicious web site under the control of an attacker. An attacker
would have no way to force users to visit a malicious Web site
outside the HTML e-mail vector. Instead, an attacker would need to
lure them there, typically by getting the user to click a link that
took them to the attacker's site.
- - The privileges that are gained through a successful attack would
be equal to those of the application under which ODBC is running.
In most cases, an attacker would gain only the same level of
privileges as the logged on user.
- - By default, Outlook Express 6.0 and Outlook 2002 open HTML mail
in the Restricted Sites Zone. In addition, Outlook 98 and 2000 open
HTML mail in the Restricted Sites Zone if the Outlook Email
Security Update has been installed. Customers who use any of these
products would be at no risk from an e-mail borne attack that
attempted to exploit this vulnerability unless the user clicked a
malicious link in the email.
Risk Rating:
============
Critical
Patch Availability:
===================
A patch is available to fix this vulnerability. Please read the
Security Bulletins at
http://www.microsoft.com/technet/security/bulletin/ms02-040.asp
http://www.microsoft.com/security/security_bulletins/MS02-040.asp
for information on obtaining this patch. Please note that this
patch is superceded by the patch available with
http://www.microsoft.com/technet/security/bulletin/ms03-033.asp
Acknowledgment:
===============
- - David Litchfield, Next Generation Security Software Ltd.,
- ---------------------------------------------------------------------
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
iQEVAwUBP0OazI0ZSRQxA/UrAQGD3gf/fLWBEizyjQur1t+PdI8oWVlp40LQSTIx
quDg5GydPJrNiUwhRb2M25urmYm6My/ydh6U06GosDXWv1sxu8R/fAxvyYBjH4FS
VOC+8vd3FjKDrIWeFrWyGbYgq/0TclPvRllCFhVJaJDkW2qb7gec//uHu0fDMkVd
ftYoxrLZGq+JszlokotFZ4zlHv9WRY1mCASRiixOt2YhgxY+lnkHgHUb8EFTw5ZW
BmBT00enYRD9SDuE+CkQaOxdpRfJHrFMV+CRHI4qyqt9y57bHwTEIyfyIS37G3hX
E1ih9Jy6G8Msdbyut5Ku8O0Dl4AuQI1bRjhzGqDtHJiP2LbS+ci16g==
=Md0Y
-----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:
Reply to this message with the word UNSUBSCRIBE in the Subject line.
For security-related information about Microsoft products, please visit the Microsoft Security Advisor web site at http://www.microsoft.com/security.
Cheers,
Frank
-----BEGIN PGP SIGNED MESSAGE-----
- -----------------------------------------------------------------
Title: Unchecked Buffer in MDAC Function Could Enable System
Compromise (823718)
Date: 20 August 2003
Software:
- Microsoft Data Access Components 2.5
- Microsoft Data Access Components 2.6
- Microsoft Data Access Components 2.7
Impact: Run code of the attacker's choice
Max Risk: Important
Bulletin: MS03-033
Microsoft encourages customers to review the Security Bulletins
at:
http://www.microsoft.com/technet/security/bulletin/MS03-033.asp
http://www.microsoft.com/security/security_bulletins/ms03-033.asp
- -----------------------------------------------------------------
Issue:
======
Microsoft Data Access Components (MDAC) is a collection of
components that are used to provide database connectivity on
Windows platforms. MDAC is a ubiquitous technology, and it is
likely to be present on most Windows systems:
- By default, MDAC is included by default as part of Microsoft
Windows XP, Windows 2000, Windows Millennium Edition, and
Windows Server 2003. (It is worth noting, though, that the
version that is installed by Windows Server 2003 does not have
this vulnerability.)
- MDAC is available for download as a stand-alone technology.
- MDAC is either included in or installed by a number of other
products and technologies. For example, MDAC is included in
the Microsoft Windows NT(r) 4.0 Option Pack and in Microsoft SQL
Server 2000. Additionally, some MDAC components are present as
part of Microsoft Internet Explorer even when MDAC itself is
not installed.
MDAC provides the underlying functionality for a number of
database operations, such as connecting to remote databases and
returning data to a client. When a client system on a network
tries to see list of computers that are running SQL Server and
that reside on the network, it sends a broadcast request to all
the devices that are on the network. Due to a flaw in a specific
MDAC component, an attacker could respond with a specially
crafted packet that could cause a buffer overflow.
An attacker who successfully exploited this flaw could gain the
same level of privileges over the system as the application that
initiated the broadcast request. The actions an attacker could
carry out would be dependent on the permissions which the
application using MDAC ran under. If the application ran with
limited privileges, an attacker would be limited accordingly;
however, if the application runs under the local system context,
the attacker would have the same level of permissions. This could
include creating, modifying, or deleting data on the system, or
reconfiguring the system. This could also include reformatting
the hard disk or running programs of the attacker's choice.
This bulletin supercedes the patch discussed in MS02-040.
Customers should install this patch as it contains the fix for
the vulnerability discussed in bulletin MS02-040 and the patch
discussed in this bulletin.
Mitigating Factors:
====================
- For an attack to be successful an attacker would need to
simulate a SQL server on the same subnet as the target system.
- Code executed on the client system would only run under the
privileges of the logged-on user.
- MDAC version 2.8 (which is the version included with Windows
Server 2003) does not contain the flaw that is addressed by
this bulletin.
Risk Rating:
============
- Important
Patch Availability:
===================
- A patch is available to fix this vulnerability. Please read
the Security Bulletins at:
http://www.microsoft.com/technet/security/bulletin/ms03-
033.asp
http://www.microsoft.com/security/security_bulletins/ms03-
033.asp
for information on obtaining this patch.
Acknowledgment:
===============
- Microsoft thanks Aaron C. Newman of Application Security, Inc.
for reporting this issue to us and for working with us to help
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
iQEVAwUBP0LEf40ZSRQxA/UrAQGjdgf/cI1c4F3brtV3vKxg7UrySrpwOGlKjqy6
AL3pfhbXfNQENTfDB1xjhwVeKBKUUdKWZqsK7g0rEdJJOeZeCuJXGlTd78xcrU5j
Znqi3rpDNAnflmc9MNrB1bAnacHrug6N8SSryoIEZZIjB2v+vkCQhTEMybFZ7eUV
ICF1xP0qf+h7/aw6TrR/yNTuYUiZWFvU/BfnRPl6bGfqQafv+IU0K+k6jG/7Q4Vx
Kacv213W0sWWMk3KIognlMACwG9E6m2rVwvA1hilUuFLzwd1ZyHYEsLsy8C5XPFS
lS5jtGzTznepbJEvSogVc/QSB70pcDrdqF4MDMkQxTrsKeyO0ieIQQ==
=+krE
-----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:
Reply to this message with the word UNSUBSCRIBE in the Subject line.
For security-related information about Microsoft products, please visit the Microsoft Security Advisor web site at http://www.microsoft.com/security.
Edited by - a5xo3z1 on 08/21/2003 02:20:57 AM
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
August 24, 2003 at 8:14 am
The patch for security bulletin MS03-033 supercedes this patch. So if you've not applied either and you know you're going to apply MS03-033, you just need to apply the later one. More info:
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/bulletin/MS03-033.asp
K. Brian Kelley
http://www.truthsolutions.com/
Author: Start to Finish Guide to SQL Server Performance Monitoring
K. Brian Kelley
@kbriankelley
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply