{"id":"CVE-2020-25698","aliases":["CVE-2020-25698","GHSA-vxhx-gmhm-623c","BIT-MOODLE-2020-25698"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Access Control in moodle","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Unas capacidades de inscripción de los usuarios no estaban suficientemente comprobadas en Moodle cuando son restauradas en un curso existente.&#xa0;Esto podría conllevar a cancelar la inscripción de usuarios sin tener permiso para hacerlo.&#xa0;Versiones afectadas: 3.5 a 3.5.14, 3.7 a 3.7.8, 3.8 a 3.8.5, 3.9 a 3.9.2 y versiones anteriores no compatibles.&#xa0;Corregido en 3.9.3, 3.8.6, 3.7.9, 3.5.15 y 3.10","source":"nvd"}],"published":"2020-11-19T16:05:37.000Z","modified":"2026-09-08T08:48:14.425Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-284"],"affected":[{"ranges":[{"version":"Fixed in 3.9.3","status":"affected"},{"version":"Fixed in 3.8.6","status":"affected"},{"version":"Fixed in 3.7.9","status":"affected"},{"version":"Fixed in 3.5.15","status":"affected"},{"version":"Fixed in 3.10","status":"affected"}],"product":"moodle","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.9.0","status":"affected","fixed":"3.9.3"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.8.0","status":"affected","fixed":"3.8.6"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.7.0","status":"affected","fixed":"3.7.9"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.5","status":"affected","fixed":"3.5.15"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.5.0","lastAffected":"3.5.14"},{"status":"affected","introduced":"3.7.0","lastAffected":"3.7.8"},{"status":"affected","introduced":"3.8.0","lastAffected":"3.8.5"},{"status":"affected","introduced":"3.9.0","lastAffected":"3.9.2"}],"vendor":"moodle","product":"moodle","cpe":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"32"},{"status":"affected","version":"33"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"3.5.0","status":"affected","fixed":"3.5.15"},{"type":"semver","introduced":"3.7.0","status":"affected","fixed":"3.7.9"},{"type":"semver","introduced":"3.8.0","status":"affected","fixed":"3.8.6"},{"type":"semver","introduced":"3.9.0","status":"affected","fixed":"3.9.3"}],"ecosystem":"Bitnami","package":"moodle","purl":"pkg:bitnami/moodle","source":"bitnami"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1895419","tags":["advisory","issue-tracking","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=413935","tags":["advisory","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25698","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/moodle/moodle/commit/c8ac07fb50fa92eee1d574823fbda09e1b309a63","tags":["web"],"sources":["ghsa"]},{"url":"https://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-67837","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-25698","url":"https://www.cve.org/CVERecord?id=CVE-2020-25698","licence":"CVE Terms of Use","modified":"2024-08-04T15:40:36.632Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vxhx-gmhm-623c","url":"https://github.com/advisories/GHSA-vxhx-gmhm-623c","licence":"CC-BY-4.0","modified":"2024-02-16T08:10:12.996Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-25698","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25698","licence":"Public domain","modified":"2026-06-17T03:07:09.030Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MOODLE-2020-25698","url":"https://osv.dev/vulnerability/BIT-MOODLE-2020-25698","licence":"Apache-2.0","modified":"2026-09-08T08:48:14.425Z"}],"updatedAt":"2026-11-25T22:57:55.880Z","epss":{"score":0.01918,"percentile":0.80509,"date":"2026-12-02T12:00:21.000Z"}}