{"id":"CVE-2020-25698","published":"2020-11-19T16:05:37Z","modified":"2024-08-04T15:40:36Z","title":"Users' enrollment capabilities were not being sufficiently checked in Moodle when they are restored into an existing…","vendor":null,"product":null,"tier":"tail","description":{"text":"Users' enrollment capabilities were not being sufficiently checked in Moodle when they are restored into an existing course. This could lead to them unenrolling users without having permission to do so. Versions affected: 3.5 to 3.5.14, 3.7 to 3.7.8, 3.8 to 3.8.5, 3.9 to 3.9.2 and earlier unsupported versions. Fixed in 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.01918,"percentile":0.80395,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1895419","tags":["x_refsource_MISC"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=413935","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":16.1,"factors":[{"name":"EPSS percentile","points":16.08}]},"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-vxhx-gmhm-623c"],"provenance":"source"}],"summary":{"text":"The flaw is an improper access control weakness in Moodle's course restore functionality, where users' enrollment capabilities are not sufficiently checked when they are restored into an existing course. An attacker who can perform a course restore can use this to unenrol users without holding the permission that should be required to do so.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:06Z"},"euvd":{"id":"EUVD-2021-0714","exploited":false,"provenance":"source"}}