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 (Multimedia)  >   Microsoft DirectX Vendors:   Microsoft
(Microsoft Issues Fix) Microsoft DirectX Heap Overflow in Loading MIDI Files Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1007285
SecurityTracker URL:  http://securitytracker.com/id/1007285
CVE Reference:   CAN-2003-0346   (Links to External Site)
Date:  Jul 24 2003
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 9.0a and prior versions
Description:   A buffer overflow vulnerability was reported in Microsoft's DirectX. A remote user can create content that will execute arbitrary code on the target user's system.

eEye Digital Security reported that the overflow resides in QUARTZ.DLL, used to play Musical Instrument Digital Interface (MIDI) music ('.mid' files). The player can be invoked via an HTML tag. A remote user can create a malicious '.mid' file that, when loaded by the target user's browser, will execute arbitrary code on the target user's system. The code will run with the privileges of the target user.

The report indicates that the vulnerability is due to an integer overflow in the process of a 'Text' or 'Copyright' string in a MIDI file. If the string has a specified length of FFFFFFFFh, the affected DLL will reportedly attempt to allocate a zero-byte heap block and then write the data to the heap.

Microsoft reports that there are two separate buffer overflows, but with the same effects.

The vendor was reportedly notified on April 16, 2003.

Impact:   A remote user can create a malicious MIDI file that, when loaded by the target user, will execute arbitrary code on the target user's system with the privileges of the target user.
Solution:   The vendor has issued the following patches:

* Microsoft DirectX 5.2, DirectX 6.1 and DirectX 7.0a on Windows 98, Windows 98 SE and Windows Millennium Edition

http://microsoft.com/downloads/details.aspx?FamilyId=141D5F9E-07C1-462A-BAEF-5EAB5C851CF5&displaylang=en

Microsoft notes that users of Windows 98, Windows 98 SE and Windows Millennium Edition who are running a version of DirectX earlier than DirectX 9.0a must upgrade to DirectX 9.0b.


* Microsoft DirectX 7.0 on Windows 2000

http://microsoft.com/downloads/details.aspx?FamilyId=7D0E4787-A993-4C49-A5A7-9A6DE8EFDB9E&displaylang=en


* Microsoft DirectX 8.1 on Windows XP 32-bit Edition

http://microsoft.com/downloads/details.aspx?FamilyId=5ABA6A3B-F67B-4B18-B4B5-62E69A0104CE&displaylang=en


* Microsoft DirectX 8.1 on Windows XP 64-bit Edition

http://microsoft.com/downloads/details.aspx?FamilyId=8F23F7AF-5317-4502-8B17-7C1A2139EBDC&displaylang=en


* Microsoft DirectX 8.1 on Windows Server 2003 32-bit Edition

http://microsoft.com/downloads/details.aspx?FamilyId=A5156FF8-1812-4DB4-9175-BF9CA370279D&displaylang=en


* Microsoft DirectX 8.1 on Windows Server 2003 64-bit Edition

http://microsoft.com/downloads/details.aspx?FamilyId=59732FCF-993A-45E8-8BA4-064575055D86&displaylang=en


* Microsoft DirectX 9.0a: All Windows versions

http://microsoft.com/downloads/details.aspx?FamilyId=22F990CB-E9F9-4670-8B4F-AC4F6F66C3A2&displaylang=en


* Microsoft Windows NT 4.0

http://microsoft.com/downloads/details.aspx?FamilyId=E238B8A1-4146-400A-A6F6-68E0D3B44163&displaylang=en


* Microsoft Windows NT 4.0, Terminal Server Edition

http://microsoft.com/downloads/details.aspx?FamilyId=BC72BE54-081D-43AE-B9C9-D08496C03BA3&displaylang=en


Microsoft reports that DirectX 9.0b contains the security fix and can be installed on all versions of Windows except Windows NT 4.0. It is available at:

http://microsoft.com/downloads/details.aspx?FamilyId=141D5F9E-07C1-462A-BAEF-5EAB5C851CF5&displaylang=en

The vendor indicates that the patch for DirectX 9.0a can be installed on Windows 98, 98 SE, Me, 2000 SP3, XP, XP SP1, and 2003.

The patch for DirectX 8.1 can reportedly be installed onWindows XP Gold, XP SP1, and 2003 Gold.

The patch for DirectX 7.0 can reportedly be installed on Windows 2000 SP3.

The Windows NT 4.0 patch can be installed onWindows NT 4 SP6a and on NT 4 Service Pack 6, Terminal Server Edition, according to the advisory.

Microsoft plans to include this fix in Windows XP SP2 and Windows Server 2003 SP1.

Windows 2000 SP4 already contains the fix.

A reboot is required after installation.

Microsoft plans to issue Knowledge Base article 819696 regarding this issue, to be available shortly at:

http://support.microsoft.com/default.aspx?scid=kb;en-us;819696

Vendor URL:  www.microsoft.com/technet/security/bulletin/MS03-030.asp (Links to External Site)
Cause:   Boundary error
Underlying OS:   Windows (Any)

Message History:   This archive entry is a follow-up to the message listed below.
Jul 23 2003 Microsoft DirectX Heap Overflow in Loading MIDI Files Lets Remote Users Execute Arbitrary Code



 Source Message Contents

Date:  Wed, 23 Jul 2003 15:01:32 -0700
Subject:  Microsoft Security Bulletin MS03-030: Unchecked Buffer in DirectX Could Enable System Compromise (Q819696)


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

- ----------------------------------------------------------------------
Title:      Unchecked Buffer in DirectX Could Enable System 
            Compromise (819696)
Date:       July 23, 2003
Software:   Microsoft DirectX(r) 5.2 on Windows 98 
            Microsoft DirectX 6.1 on Windows 98 SE 
            Microsoft DirectX 7.0a on Windows Millennium Edition 
            Microsoft DirectX 7.0 on Windows 2000 
            Microsoft DirectX 8.1 on Windows XP 
            Microsoft DirectX 8.1 on Windows Server 2003 
            Microsoft DirectX 9.0a when installed on Windows 98 
            Microsoft DirectX 9.0a when installed on Windows 98 SE 
            Microsoft DirectX 9.0a when installed on Windows
            Millennium Edition 
            Microsoft DirectX 9.0a when installed on Windows 2000 
            Microsoft DirectX 9.0a when installed on Windows XP 
            Microsoft DirectX(r) 9.0a when installed on Windows 
            Server 2003 
            Microsoft Windows NT 4.0 Server with either Windows
            Media Player 6.4 or Internet Explorer 6 Service Pack 1 
            installed. 
            Microsoft Windows NT 4.0, Terminal Server Edition with 
            either Windows Media Player 6.4 or Internet Explorer 6 
            Service Pack 1 installed.

Impact:     Allow an attacker to execute code on a user's system 
Max Risk:   Critical
Bulletin:   MS03-030

Microsoft encourages customers to review the Security Bulletins at: 
http://www.microsoft.com/technet/security/bulletin/MS03-030.asp
http://www.microsoft.com/security/security_bulletins/ms03-030.asp
- ----------------------------------------------------------------------

Issue:
======
DirectX consists of a set of low-level Application Programming 
Interfaces (APIs) that are used by Windows programs for multimedia 
support. Within DirectX, the DirectShow technology performs client-
side audio and video sourcing, manipulation, and rendering. 

There are two buffer overruns with identical effects in the 
function used by DirectShow to check parameters in a Musical 
Instrument Digital Interface (MIDI) file. A security vulnerability 
results because it would be possible for a malicious user to 
attempt to exploit these flaws and execute code in the security 
context of the logged-on user. 

An attacker could seek to exploit this vulnerability by creating a 
specially crafted MIDI file designed to exploit this vulnerability 
and then host it on a Web site or on a network share, or send it by 
using an HTML-based e-mail. In the case where the file was hosted 
on a Web site or network share, the user would need to open the 
specially crafted file. If the file was embedded in a page the 
vulnerability could be exploited when a user visited the Web page. 
In the HTML-based e-mail case, the vulnerability could be exploited 
when a user opened or previewed the HTML-based e-mail. A successful 
attack could cause DirectShow, or an application making use of 
DirectShow, to fail. A successful attack could also cause an 
attacker's code to run on the user's computer in the security 
context of the user. 

Mitigating Factors:
====================
- - By default, Internet Explorer on Windows Server 2003 runs in 
Enhanced Security Configuration. This default configuration of 
Internet Explorer blocks the e-mail-based vector of this attack 
because Microsoft Outlook Express running on Windows Server 2003 by 
default reads e-mail in plain text. If Internet Explorer Enhanced 
Security Configuration were disabled, the protections put in place 
that prevent this vulnerability from being exploited would be 
removed.
- - In the Web-based attack scenario, the attacker would have to host 
a Web site that contained a Web page used to exploit these 
vulnerabilities. An attacker would have no way to force users to 
visit a malicious Web site outside the HTML-based e-mail vector. 
Instead, the attacker would need to lure them there, typically by 
getting them to click a link that would take them to the attacker's 
site. 
- -The combination of the above means that on Windows Server 2003 an 
administrator browsing only to trusted sites should be safe from 
this vulnerability.
- - Code executed on the system would only run under the privileges 
of the logged-on user.

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/ms03-030.asp
   http://www.microsoft.com/security/security_bulletins/ms03-030.asp
   for information on obtaining this patch.

Acknowledgment:
===============
 - eEye Digital Security, http://www.eeye.com


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

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

iQEVAwUBPx75EI0ZSRQxA/UrAQELXwf/fJf95Yl2hgMrUOdIQxzi6BCNnOnx4R75
pWHnsQUP8mYlzR6zytgytwM5eiZohoiGSZ3r6Y/k6pJEpaQ8xYnb3UqVxXN/R2nE
SMDy60o4Lk/ZSBOW15JWKwS+kQLaYUTA5e/bHUDGiHcbvFLC1+V4hnv3Uj75yqIo
2EUwPYHaG54eGFGr3EdaZtPfC3iyXRiFPGO5DXWE7GfyzX347lzZKyNndzDMAyjY
PQR5tM3bXYILaNwkOl3/o42BjWQ8yQtDhCA9zPO0quev2+NjfXmYc+BJuhx8Lh/1
lbTy1e43MHpMgZdMWJBsOPMpTrYWagAEn6KYXxplZQze3OKh7BnhUA==
=WABJ
-----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.


 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2013, SecurityGlobal.net LLC