d3v1l Posted August 9, 2007 Report Posted August 9, 2007 .---------------./ Advisory \-----------------------------------------------------------------.:Affected : Microsoft Media Player 11 on Win XP SP2 :Type : DIVISION by ZERO :Result : DoS :Remote : YES :Date : 2007-08-07 :Author: : Adonis, Abed :url : [url]http://www.safehack.com/exp/mp/mplayer11.txt[/url] :-----------------------------------------------------------------.------------.Disclaimer \--------------`--------------------------------------------------.This material is presented for informational and educational :purposes only. We do not accept any liability for anything anyone:does with this information. So, don't shoot the messenger. ::Use a computer in a ways that ensure respect for your fellow. :-----------------------------------------------------------------.--------------.Brief History \----------------`------------------------------------------------.A division by Zero lead to a denial of service on :Microsoft Windows Media Player version 11 ::If you open a specially crafted .au file in windows Media player :you will crash the player with the following error. ::Exception number: c0000094 (divide by zero) ::To see if you Windows Media Player is vulnerable you can use our :.au generator coded in python, or you can download the POC file. :::Proof-of-Concept :---------------- ::[url]http://www.safehack.com/exp/mp/iapetus.py[/url] (python .au generator) :[url]http://www.safehack.com/exp/mp/iapetus.au[/url] (poc file) ::If you do not have python installed you can just use the poc file:-----------------------------------------------------------------.--------------.DEBUG DUMP \----------------`------------------------------------------------.Application exception occurred:App: C:\Program Files\Windows Media Player\wmplayer.exe (pid=4972)When: 8/7/2007 - 19:50:13.051Exception number: c0000094 (divide by zero)*----> System Information <----*Computer Name: --User Name: --Terminal Session Id: 0Number of Processors: 1Processor Type: x86 Family 15 Model 2 Stepping 4Windows Version: 5.1Current Build: 2600Service Pack: 2Current Type: Uniprocessor FreeRegistered Organization: OrganizationRegistered Owner: Name*----> State Dump for Thread Id 0x838 <----*eax=ffffffff ebx=010a82b0 ecx=00000000 edx=00000000 esi=ffffffff edi=000fe3a2eip=748fe598 esp=01c8f0c0 ebp=01c8f154 iopl=0 nv up ei pl zr na po nccs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246function: quartz748fe581 b708 mov bh,0x8748fe583 c1ea02 shr edx,0x2748fe586 3bd1 cmp edx,ecx748fe588 7702 ja quartz+0xee58c (748fe58c)748fe58a 8bd1 mov edx,ecx748fe58c 0fb708 movzx ecx,word ptr [eax]748fe58f 56 push esi748fe590 8d740aff lea esi,[edx+ecx-0x1]748fe594 8bc6 mov eax,esi748fe596 33d2 xor edx,edxFAULT ->748fe598 f7f1 div ecx <- FAULT748fe59a 8bc6 mov eax,esi748fe59c 5e pop esi748fe59d 2bc2 sub eax,edx748fe59f c3 ret748fe5a0 90 nop748fe5a1 90 nop748fe5a2 90 nop748fe5a3 90 nop748fe5a4 90 nop748fe5a5 8bff mov edi,edi-------------.The Solution \---------------`-------------------------------------------------.:Wait for a patch from Microsoft :-----------------------------------------------------------------. http://www.safehack.com/exp/mp/mplayer11.txt Quote