CVEvulnerability
CVE-2022-35650
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-07-25
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-20, CWE-22
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.
Affected configurations
• moodle moodle (>= 3.9.0 < 3.9.15)
• moodle moodle (>= 3.11.0 < 3.11.8)
• moodle moodle (>= 4.0.0 < 4.0.2)
• fedoraproject fedora 35
• fedoraproject fedora 36
Related
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72029 Patch, Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2106274 Issue Tracking, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/ lists.fedoraproject.org
- https://moodle.org/mod/forum/discuss.php?d=436457 Vendor Advisory
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72029 Patch, Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2106274 Issue Tracking, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/ lists.fedoraproject.org
- https://moodle.org/mod/forum/discuss.php?d=436457 Vendor Advisory