{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-25629","id":"CVE-2020-25629","title":"Moodle incorrect access control","description":"A vulnerability was found in Moodle where users with \"Log in as\" capability in a course context (typically, course managers) may gain access to some site administration capabilities by \"logging in as\" a System manager. This affects 3.9 to 3.9.1, 3.8 to 3.8.4, 3.7 to 3.7.7, 3.5 to 3.5.13 and earlier unsupported versions. This is fixed in 3.9.2, 3.8.5, 3.7.8 and 3.5.14.","descriptionLong":"A vulnerability was found in Moodle where users with \"Log in as\" capability in a course context (typically, course managers) may gain access to some site administration capabilities by \"logging in as\" a System manager. This affects 3.9 to 3.9.1, 3.8 to 3.8.4, 3.7 to 3.7.7, 3.5 to 3.5.13 and earlier unsupported versions. This is fixed in 3.9.2, 3.8.5, 3.7.8 and 3.5.14.","published":"2020-12-08T00:16:05.000Z","updated":"2026-10-24T10:30:29.654049422Z","reserved":"2020-09-16T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Moodle"],"affectedProducts":[{"vendor":"n/a","product":"Moodle","defaultStatus":null,"versions":[{"status":"affected","version":"3.9 to 3.9.1"},{"status":"affected","version":"3.8 to 3.8.4"},{"status":"affected","version":"3.7 to 3.7.7"},{"status":"affected","version":"3.5 to 3.5.13"},{"status":"affected","version":"earlier unsupported versions"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"moodle/moodle","purl":"pkg:composer/moodle/moodle","ranges":[">=3.9 <3.9.2",">=3.8 <3.8.5",">=3.7 <3.7.8",">=3.5 <3.5.14"],"fixed":["3.9.2","3.8.5","3.7.8","3.5.14"],"advisory":"GHSA-f5r8-7h4f-jr9x"}],"cwes":["CWE-284","CWE-862"],"aliases":["BIT-moodle-2020-25629","GHSA-f5r8-7h4f-jr9x"],"references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=410841","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25629","tags":["advisory"]},{"url":"https://github.com/moodle/moodle","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0132,"epssPercentile":0.71434,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-25629","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25629","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-25629","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-f5r8-7h4f-jr9x","ok":true,"note":"GHSA-f5r8-7h4f-jr9x"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-25629","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}