Vulnerabilities · 2022 · Moodle
CVE-2022-35650
Moodle vulnerability
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 products
Moodle, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Moodle runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72029 · Patch
- moodle.org/mod/forum/discuss.php?d=436457 · Vendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2106274 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M
- nvd.nist.gov/vuln/detail/CVE-2022-35650
- lists.fedoraproject.org/archives/list/[email protected]/message/6MO
- lists.fedoraproject.org/archives/list/[email protected]/message/MTK
- nvd.nist.gov/vuln/detail/CVE-2022-35650
- cve.org/CVERecord?id=CVE-2022-35650
More vulnerabilities in Moodle products
CVE-2025-62401CVE-2025-62400CVE-2025-62399CVE-2025-62398CVE-2025-62397CVE-2025-62396CVE-2025-62395CVE-2025-62394All 611
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.