Moodle
At a glance
- Source
- NVD
- EPSS
- EPSS 53.65 % · percentile 99 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- fedora
- NVD status
- Modified
Description
The vulnerability was found in Moodle, occurs due to input validation error when importing lesson questions. This insufficient path checks results in arbitrary file read risk. This vulnerability allows a remote attacker to perform directory traversal attacks. The capability to access this feature is only available to teachers, managers and admins by default.
Weaknesses (CWE)
- CWE-22 — Improper Limitation of a Pathname to a Restricted Directory
- CWE-20 — Improper Input Validation
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2106274
- https://moodle.org/mod/forum/discuss.php?d=436457
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72029
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-pgm5-cr62-prxq — Moodle Arbitrary file read when importing lesson questions
European references
- ENISA EUVD · EUVD-2022-6384
- GCVE · GCVE-0-2022-35650
CERT-FR advisories
- CERTFR-2022-AVI-653 — Multiples vulnérabilités dans Moodle · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*≥ 3.9.0 < 3.9.15cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*≥ 3.11.0 < 3.11.8cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*≥ 4.0.0 < 4.0.2cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Moodle | affected Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |