Rapid7 Vulnerability & Exploit Database

MPlayer SAMI Subtitle File Buffer Overflow

Back to Search

MPlayer SAMI Subtitle File Buffer Overflow



This module exploits a stack-based buffer overflow found in the handling of SAMI subtitles files in MPlayer SVN Versions before 33471. It currently targets SMPlayer 0.6.8, which is distributed with a vulnerable version of MPlayer. The overflow is triggered when an unsuspecting victim opens a movie file first, followed by loading the malicious SAMI subtitles file from the GUI. Or, it can also be done from the console with the MPlayer "-sub" option.


  • Jacques Louw
  • 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/mplayer_sami_bof
msf exploit(mplayer_sami_bof) > show targets
msf exploit(mplayer_sami_bof) > set TARGET < target-id >
msf exploit(mplayer_sami_bof) > show options
    ...show and set options...
msf exploit(mplayer_sami_bof) > 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