MSA-22-0016: Arbitrary file read when importing lesson questions

MSA-22-0016: Arbitrary file read when importing lesson questions

by Michael Hawkins -
Number of replies: 0

Insufficient path checks in a lesson question import resulted in an arbitrary file read risk. The capability to access this feature is only available to teachers, managers and admins by default.


Severity/Risk: Serious
Versions affected: 4.0 to 4.0.1, 3.11 to 3.11.7, 3.9 to 3.9.14 and earlier unsupported versions
Versions fixed: 4.0.2, 3.11.8 and 3.9.15
Reported by: loknop
CVE identifier: CVE-2022-35650
Changes (master): http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72029
Tracker issue: MDL-72029 Arbitrary file read when importing lesson questions