{"id":"CVE-2020-25699","aliases":["CVE-2020-25699","GHSA-h77r-rp97-7rv4","BIT-MOODLE-2020-25699"],"related":[],"kind":"vulnerability","state":"published","title":"Privilage Escalation in moodle","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En moodle, las comprobaciones insuficientes de capacidad podrían conllevar a usuarios con una capacidad de restaurar el curso agregar capacidades adicionales a los roles dentro de ese curso.&#xa0;Versiones afectadas: 3.9 hasta 3.9.2, 3.8 hasta 3.8.5, 3.7 hasta 3.7.8, 3.5 hasta 3.5.14 y versiones anteriores no compatibles.&#xa0;Esto se corrigió en moodle versiones 3.9.3, 3.8.6, 3.7.9, 3.5.15 y 3.10","source":"nvd"}],"published":"2020-11-19T00:00:00.000Z","modified":"2026-09-08T08:48:14.525Z","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-269","CWE-863"],"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=1895425","tags":["advisory","issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=413936","tags":["advisory","vendor-advisory","web","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-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25699","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/moodle/moodle/commit/b8e1eec4c77c858de87fedf4e405e929539ea0c5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/moodle/moodle","tags":["package"],"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-25699","url":"https://www.cve.org/CVERecord?id=CVE-2020-25699","licence":"CVE Terms of Use","modified":"2024-08-04T15:40:36.678Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h77r-rp97-7rv4","url":"https://github.com/advisories/GHSA-h77r-rp97-7rv4","licence":"CC-BY-4.0","modified":"2024-02-16T08:23:30.054Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-25699","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25699","licence":"Public domain","modified":"2026-06-17T03:07:09.140Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MOODLE-2020-25699","url":"https://osv.dev/vulnerability/BIT-MOODLE-2020-25699","licence":"Apache-2.0","modified":"2026-09-08T08:48:14.525Z"}],"updatedAt":"2026-11-25T22:57:55.880Z","epss":{"score":0.01607,"percentile":0.76612,"date":"2026-12-01T12:00:22.000Z"}}