GitHub Advisory Database
GHSA-56r9-72vx-q989
Moodle arbitrary file read vulnerability
Details
Insufficient sanitizing in backup resulted in an arbitrary file read risk. The capability to access this feature is only available to teachers, managers and admins by default.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | From 4.1.0 before 4.1.2 (fixed in 4.1.2) |
| Packagist | moodle/moodle | From 4.0.0 before 4.0.7 (fixed in 4.0.7) |
| Packagist | moodle/moodle | From 3.11.0 before 3.11.13 (fixed in 3.11.13) |
| Packagist | moodle/moodle | All versions before 3.9.20 (fixed in 3.9.20) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-28330
- https://github.com/moodle/moodle/commit/493205b6b280633bcbc49d2eaf4f61a52252c26c
- https://bugzilla.redhat.com/show_bug.cgi?id=2179412
- https://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-77204
- https://github.com/moodle/moodle
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF
- https://moodle.org/mod/forum/discuss.php?d=445062