{"id":"CVE-2022-0985","published":"2022-04-29T15:48:30Z","modified":"2024-08-02T23:47:42Z","title":"Insufficient capability checks could allow users with the moodle/site:uploadusers capability to delete users, without…","vendor":null,"product":null,"tier":"tail","description":{"text":"Insufficient capability checks could allow users with the moodle/site:uploadusers capability to delete users, without having the necessary moodle/user:delete capability.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00567,"percentile":0.4078,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2064117","tags":["x_refsource_MISC"]}],"priority":{"score":8.2,"factors":[{"name":"EPSS percentile","points":8.16}]},"affectedVersions":[{"vendor":"n/a","product":"moodle","versions":["moodle 3.11.6, moodle 3.10.10, moodle 3.9.13"]}],"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=3.11.0, <3.11.6",">=3.10.0, <3.10.10",">=3.9, <3.9.13"],"patched":["3.11.6","3.10.10","3.9.13"],"from":["GHSA-6q9g-3vfq-q2qj"],"provenance":"source"}],"summary":{"text":"The flaw is an insufficient capability check, classed as improper authentication, in Moodle's user upload functionality. An attacker holding the moodle/site:uploadusers capability could delete users without holding the moodle/user:delete capability that should be required for that action.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:03Z"},"euvd":{"id":"EUVD-2022-1651","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-moodle-moodle-cve-2021-20279","parents":[{"from":"CVE-2021-20279","to":"CVE-2022-0985","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["admin/tool/uploaduser/user_form.php"],"commits":["https://github.com/moodle/moodle/commit/a7e0ba1e71205ccb0a73dedee414f1a167ee2ed7","https://github.com/moodle/moodle/commit/addd4f894d8173ec8ff0ae2212d51a1977e7bcad"],"basis":"shared function","functions":["definition"]}]}]}}