Rapid7 Vulnerability & Exploit Database

MS10-026 Microsoft MPEG Layer-3 Audio Stack Based Overflow

Back to Search

MS10-026 Microsoft MPEG Layer-3 Audio Stack Based Overflow



This module exploits a buffer overflow in l3codecx.ax while processing a AVI files with MPEG Layer-3 audio contents. The overflow only allows to overwrite with 0's so the three least significant bytes of EIP saved on stack are overwritten and shellcode is mapped using the .NET DLL memory technique pioneered by Alexander Sotirov and Mark Dowd. Please note on IE 8 targets, your malicious URL must be a trusted site in order to load the .Net control.


  • Yamata Li
  • Shahin Ramezany <shahin@abysssec.com>
  • juan vazquez <juan.vazquez@metasploit.com>
  • Jordi Sanchez <jsanchez@0x01000000.org>




Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/windows/browser/ms10_026_avi_nsamplespersec
msf exploit(ms10_026_avi_nsamplespersec) > show targets
msf exploit(ms10_026_avi_nsamplespersec) > set TARGET < target-id >
msf exploit(ms10_026_avi_nsamplespersec) > show options
    ...show and set options...
msf exploit(ms10_026_avi_nsamplespersec) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security