{"id":"CVE-2020-25699","published":"2020-11-19T00:00:00Z","modified":"2024-08-04T15:40:36Z","title":"In moodle, insufficient capability checks could lead to users with the ability to course restore adding additional…","vendor":null,"product":null,"tier":"tail","description":{"text":"In moodle, insufficient capability checks could lead to users with the ability to course restore adding additional capabilities to roles within that 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.01607,"percentile":0.76493,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1895425","tags":[]},{"url":"https://moodle.org/mod/forum/discuss.php?d=413936","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU/","tags":["vendor-advisory"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":15.3}]},"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-h77r-rp97-7rv4"],"provenance":"source"}],"summary":{"text":"The flaw is insufficient capability checks in Moodle, which allow a user who holds the course restore capability to add extra capabilities to roles within that course. An attacker who can perform course restores, and who is already authenticated to Moodle with that ability, can escalate the permissions granted within the affected course.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:20Z"},"euvd":{"id":"EUVD-2021-0665","exploited":false,"provenance":"source"}}