{"id":"GHSA-8vjj-wf73-w882","summary":"Moodle Incorrect Default Settings","details":"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.","aliases":["CVE-2011-4285"],"modified":"2024-01-17T18:56:33.057521Z","published":"2022-05-13T01:13:17Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-01-17T18:38:44Z","nvd_published_at":"2012-07-16T10:28:00Z","cwe_ids":["CWE-276"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2011-4285"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/5dd7e903ff1698dcf2b6bbd821c31720d169fb83"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"},{"type":"WEB","url":"http://git.moodle.org/gw?p=moodle.git;a=commit;h=5cfe8aecb8b78e343ded38ba9e7a0a859887d21c"},{"type":"WEB","url":"http://moodle.org/mod/forum/discuss.php?d=170011"},{"type":"WEB","url":"http://openwall.com/lists/oss-security/2011/11/14/1"}],"affected":[{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0"},{"fixed":"2.0.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8vjj-wf73-w882/GHSA-8vjj-wf73-w882.json"}}],"schema_version":"1.9.0"}