{"id":"CVE-2011-4285","aliases":["EUVD-2022-3244","GHSA-8vjj-wf73-w882"],"status":"published","title":"Moodle Incorrect Default Settings","description":"The default configuration of Moodle 2.0.x before 2.0.2 has an incorrect setting of the moodle/course:delete capability, which allows remote authenticated users to delete arbitrary courses by leveraging the teacher role.","severity":{"version":"2.0","score":5.5,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01905,"percentile":0.79869,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-264","CWE-276"],"published":"2012-07-16T10:00:00Z","modified":"2026-06-16T23:34:42Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["2.0.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0"},{"fixed":"2.0.2"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0"},{"fixed":"2.0.2"}]}]}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://openwall.com/lists/oss-security/2011/11/14/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://moodle.org/mod/forum/discuss.php?d=170011","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web"]},{"url":"http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=5cfe8aecb8b78e343ded38ba9e7a0a859887d21c","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-4285","tags":["advisory"]},{"url":"http://git.moodle.org/gw?p=moodle.git;a=commit;h=5cfe8aecb8b78e343ded38ba9e7a0a859887d21c","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/5dd7e903ff1698dcf2b6bbd821c31720d169fb83","tags":["web"]},{"url":"https://github.com/advisories/GHSA-8vjj-wf73-w882"},{"url":"https://github.com/moodle/moodle","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2011-4285","description":"The default configuration of Moodle 2.0.x before 2.0.2 has an incorrect setting of the moodle/course:delete capability, which allows remote authenticated users to delete arbitrary courses by leveraging the teacher role.","status":"published","published":"2012-07-16T10:00:00Z","modified":"2024-08-07T00:01:51.586Z","updated_at":"2026-11-02T14:35:37.989579Z"}],"euvd":[{"id":"EUVD-2022-3244","description":"The default configuration of Moodle 2.0.x before 2.0.2 has an incorrect setting of the moodle/course:delete capability, which allows remote authenticated users to delete arbitrary courses by leveraging the teacher role.","status":"published","published":"2012-07-16T10:00:00Z","modified":"2024-08-07T00:01:51Z","updated_at":"2026-11-03T01:39:48.961231Z"}],"ghsa":[{"id":"GHSA-8vjj-wf73-w882","title":"Moodle Incorrect Default Settings","description":"The default configuration of Moodle 2.0.x before 2.0.2 has an incorrect setting of the `moodle/course:delete` capability, which allows remote authenticated users to delete arbitrary courses by leveraging the teacher role.","status":"published","published":"2022-05-13T01:13:17Z","modified":"2024-01-17T18:38:46Z","cwes":["CWE-276"],"updated_at":"2026-11-02T14:37:31.550603Z"}],"nvd":[{"id":"CVE-2011-4285","description":"The default configuration of Moodle 2.0.x before 2.0.2 has an incorrect setting of the moodle/course:delete capability, which allows remote authenticated users to delete arbitrary courses by leveraging the teacher role.","status":"published","published":"2012-07-16T10:28:36.567Z","modified":"2026-06-16T23:34:42.287Z","cvss":[{"version":"2.0","score":5.5,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:02:12.272092Z"}],"osv":[{"id":"GHSA-8vjj-wf73-w882","title":"Moodle Incorrect Default Settings","description":"The default configuration of Moodle 2.0.x before 2.0.2 has an incorrect setting of the `moodle/course:delete` capability, which allows remote authenticated users to delete arbitrary courses by leveraging the teacher role.","status":"published","published":"2022-05-13T01:13:17Z","modified":"2024-01-17T18:56:33.057521Z","cwes":["CWE-276"],"updated_at":"2026-11-02T15:46:42.78452Z"}]}}
