{"id":"BIT-moodle-2022-35650","details":"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.","aliases":["CVE-2022-35650","GHSA-pgm5-cr62-prxq"],"modified":"2026-09-08T08:47:31.625751057Z","published":"2024-03-06T11:03:46.613Z","database_specific":{"severity":"High","cpes":["cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*"]},"references":[{"type":"ADVISORY","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72029"},{"type":"ADVISORY","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2106274"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/"},{"type":"ADVISORY","url":"https://moodle.org/mod/forum/discuss.php?d=436457"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35650"}],"affected":[{"package":{"name":"moodle","ecosystem":"Bitnami","purl":"pkg:bitnami/moodle"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.9.0"},{"fixed":"3.9.15"},{"introduced":"3.11.0"},{"fixed":"3.11.8"},{"introduced":"4.0.0"},{"fixed":"4.0.2"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/moodle/BIT-moodle-2022-35650.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}],"schema_version":"1.9.0"}