{"id":"CVE-2021-40692","aliases":["BIT-moodle-2021-40692","EUVD-2022-6967","GHSA-wr6q-xv23-rfq9","UBUNTU-CVE-2021-40692"],"status":"published","title":"Moodle Incorrect Authorization","description":"Insufficient capability checks made it possible for teachers to download users outside of their courses.","severity":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00626,"percentile":0.50309,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-863"],"published":"2022-01-21T18:17:47Z","modified":"2026-10-24T10:31:04Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["3.11.3","3.10.7","3.9.10"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"moodle","fixed_in":["3.9.10","3.10.7","3.11.3"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.11"},{"fixed":"3.11.3"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.10"},{"fixed":"3.10.7"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.9"},{"fixed":"3.9.10"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"moodle","ranges":[{"type":"SEMVER","events":[{"introduced":"3.9.0"},{"fixed":"3.9.10"},{"introduced":"3.10.0"},{"fixed":"3.10.7"},{"introduced":"3.11.0"},{"fixed":"3.11.3"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.11"},{"fixed":"3.11.3"}]}],"versions":["v3.11.0","v3.11.0-beta","v3.11.0-rc1","v3.11.0-rc2","v3.11.1","v3.11.2"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.10"},{"fixed":"3.10.7"}]}],"versions":["v3.10.0","v3.10.0-beta","v3.10.0-rc1","v3.10.0-rc2","v3.10.1","v3.10.2","v3.10.3","v3.10.4","v3.10.5","v3.10.6"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.9"},{"fixed":"3.9.10"}]}],"versions":["v3.9.0","v3.9.0-beta","v3.9.0-rc1","v3.9.0-rc2","v3.9.0-rc3","v3.9.1","v3.9.2","v3.9.3","v3.9.4","v3.9.5","v3.9.6","v3.9.7","v3.9.8","v3.9.9"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.9+dfsg-1","2.7.10+dfsg-1","2.7.11+dfsg-1","2.7.11+dfsg-2","2.7.12+dfsg-1","3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"]}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2043414","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40692","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-wr6q-xv23-rfq9"},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2021-40692","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-40692","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-40692","description":"Insufficient capability checks made it possible for teachers to download users outside of their courses.","status":"published","published":"2022-01-21T18:17:47Z","modified":"2024-08-04T02:51:06.544Z","updated_at":"2026-11-02T14:33:01.852999Z"}],"euvd":[{"id":"EUVD-2022-6967","description":"Insufficient capability checks made it possible for teachers to download users outside of their courses.","status":"published","published":"2022-01-21T18:17:47Z","modified":"2024-08-04T02:51:06Z","updated_at":"2026-11-03T03:24:19.692229Z"}],"ghsa":[{"id":"GHSA-wr6q-xv23-rfq9","title":"Moodle Incorrect Authorization","description":"Insufficient capability checks made it possible for teachers to download users outside of their courses.","status":"published","published":"2022-09-30T00:00:30Z","modified":"2024-04-23T23:36:03Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T14:37:44.867253Z"}],"nvd":[{"id":"CVE-2021-40692","description":"Insufficient capability checks made it possible for teachers to download users outside of their courses.","status":"published","published":"2022-09-29T03:15:14.293Z","modified":"2026-06-17T04:07:15.717Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T14:07:06.906968Z"}],"osv":[{"id":"CVE-2021-40692","description":"Insufficient capability checks made it possible for teachers to download users outside of their courses.","status":"published","published":"2022-09-29T03:15:14.293Z","modified":"2026-10-24T10:31:04.030974113Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:21.249056Z"},{"id":"GHSA-wr6q-xv23-rfq9","title":"Moodle Incorrect Authorization","description":"Insufficient capability checks made it possible for teachers to download users outside of their courses.","status":"published","published":"2022-09-30T00:00:30Z","modified":"2024-04-23T23:58:37.233363Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T15:46:59.131095Z"},{"id":"UBUNTU-CVE-2021-40692","description":"Insufficient capability checks made it possible for teachers to download users outside of their courses.","status":"published","published":"2022-09-29T03:15:00Z","modified":"2026-09-23T18:46:11.897959707Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:29.220315Z"},{"id":"BIT-moodle-2021-40692","description":"Insufficient capability checks made it possible for teachers to download users outside of their courses.","status":"published","published":"2024-03-06T11:07:34.596Z","modified":"2026-09-08T08:48:14.531234189Z","updated_at":"2026-11-02T15:28:33.469426Z"}]}}
