HIGH7.5
GHSA-pgm5-cr62-prxq
Moodle Arbitrary file read when importing lesson questions
Quick fix
GHSA-pgm5-cr62-prxq — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^3.9.15Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-35650[ADVISORY]
- https://bugzilla.redhat.com/show_bug.cgi?id=2106274[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V[WEB]
- https://moodle.org/mod/forum/discuss.php?d=436457[WEB]
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72029[WEB]