{"id":"CVE-2020-25701","published":"2020-11-19T16:10:53Z","modified":"2024-08-04T15:40:36Z","title":"If the upload course tool in Moodle was used to delete an enrollment method which did not exist or was not already…","vendor":null,"product":null,"tier":"tail","description":{"text":"If the upload course tool in Moodle was used to delete an enrollment method which did not exist or was not already enabled, the tool would erroneously enable that enrollment method. This could lead to unintended users gaining access to the course. Versions affected: 3.9 to 3.9.2, 3.8 to 3.8.5, 3.7 to 3.7.8, 3.5 to 3.5.14 and earlier unsupported versions. This is fixed in moodle 3.9.3, 3.8.6, 3.7.9, 3.5.15, and 3.10.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01385,"percentile":0.72886,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1895432","tags":["x_refsource_MISC"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=413939","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":14.58}]},"affectedVersions":[{"vendor":"n/a","product":"moodle","versions":["Fixed in 3.9.3","Fixed in 3.8.6","Fixed in 3.7.9","Fixed in 3.5.15","Fixed in 3.10"]}],"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=3.9.0, <3.9.3",">=3.8.0, <3.8.6",">=3.7.0, <3.7.9",">=3.5, <3.5.15"],"patched":["3.9.3","3.8.6","3.7.9","3.5.15"],"from":["GHSA-c9hq-g4q8-w893"],"provenance":"source"}],"summary":{"text":"The flaw lies in the upload course tool of Moodle, where using the tool to delete an enrollment method that did not exist or was not already enabled causes the tool to erroneously enable that enrollment method. An attacker able to use this tool could cause an enrollment method to be enabled unintentionally, potentially letting unintended users gain access to the course.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:06Z"},"euvd":{"id":"EUVD-2021-0644","exploited":false,"provenance":"source"}}