Rapid7 Vulnerability & Exploit Database

Apple QuickTime TeXML Style Element Stack Buffer Overflow

Back to Search

Apple QuickTime TeXML Style Element Stack Buffer Overflow



This module exploits a vulnerability found in Apple QuickTime. When handling a TeXML file, it is possible to trigger a stack-based buffer overflow, and then gain arbitrary code execution under the context of the user. This is due to the QuickTime3GPP.gtx component not handling certain Style subfields properly, storing user-supplied data on the stack, which results the overflow.


  • Alexander Gavrun
  • sinn3r <sinn3r@metasploit.com>
  • juan vazquez <juan.vazquez@metasploit.com>




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/fileformat/apple_quicktime_texml
msf exploit(apple_quicktime_texml) > show targets
msf exploit(apple_quicktime_texml) > set TARGET < target-id >
msf exploit(apple_quicktime_texml) > show options
    ...show and set options...
msf exploit(apple_quicktime_texml) > 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