GHSA-8vjj-wf73-w882medium
Moodle Incorrect Default Settings
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
moodle/moodle Packagist
| Affected range | Recorded fix |
|---|---|
| From 2.0 before 2.0.2Ecosystem versions | 2.0.2 |
Version evidence: OSV · GHSA-8vjj-wf73-w882
View original version evidence (0 explicit versions)
Original source 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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2011-4285
- Patch github.com/moodle/moodle/commit/5dd7e903ff1698dcf2b6bbd821c31720d169fb83
- Source reference github.com/moodle/moodle
- Source reference git.moodle.org/gw
- Source reference moodle.org/mod/forum/discuss.php
- Security advisory openwall.com/lists/oss-security/2011/11/14/1