MEDIUM
GHSA-8vjj-wf73-w882
Moodle Incorrect Default Settings
Quick fix
GHSA-8vjj-wf73-w882 — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^2.0.2Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-4285[ADVISORY]
- https://github.com/moodle/moodle/commit/5dd7e903ff1698dcf2b6bbd821c31720d169fb83[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- http://git.moodle.org/gw?p=moodle.git;a=commit;h=5cfe8aecb8b78e343ded38ba9e7a0a859887d21c[WEB]
- http://moodle.org/mod/forum/discuss.php?d=170011[WEB]
- http://openwall.com/lists/oss-security/2011/11/14/1[WEB]