VLC Media Player MKV Use After Free
This module exploits a use after free vulnerability in VideoLAN VLC =< 2.2.8. The vulnerability exists in the parsing of MKV files and affects both 32 bits and 64 bits. In order to exploit this, this module will generate two files: The first .mkv file contains the main vulnerability and heap spray, the second .mkv file is required in order to take the vulnerable code path and should be placed under the same directory as the .mkv file. This module has been tested against VLC v2.2.8. Tested with payloads windows/exec, windows/x64/exec, windows/shell/reverse_tcp, windows/x64/shell/reverse_tcp. Meterpreter payloads if used can cause the application to crash instead.
- Eugene Ng - GovTech
- Winston Ho - GovTech
- VLC 2.2.8 on Windows 10 x86
- VLC 2.2.8 on Windows 10 x64
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/vlc_mkv msf exploit(vlc_mkv) > show targets ...targets... msf exploit(vlc_mkv) > set TARGET <target-id> msf exploit(vlc_mkv) > show options ...show and set options... msf exploit(vlc_mkv) > exploit