module

VLC Media Player MKV Use After Free

Disclosed
2018-05-24
Created
2019-03-19

Description

This module exploits a use after free vulnerability in
VideoLAN VLC = 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.

Authors

Eugene Ng - GovTech
Winston Ho - GovTech

Platform

Windows

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/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

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.