Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2011-4285

CVE-2011-4285: Moodle Incorrect Default Settings

May 13, 2022 (updated January 17, 2024)

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

  • git.moodle.org/gw?p=moodle.git;a=commit;h=5cfe8aecb8b78e343ded38ba9e7a0a859887d21c
  • moodle.org/mod/forum/discuss.php?d=170011
  • openwall.com/lists/oss-security/2011/11/14/1
  • github.com/advisories/GHSA-8vjj-wf73-w882
  • github.com/moodle/moodle/commit/5dd7e903ff1698dcf2b6bbd821c31720d169fb83
  • nvd.nist.gov/vuln/detail/CVE-2011-4285

Code Behaviors & Features

Detect and mitigate CVE-2011-4285 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0 before 2.0.2

Fixed versions

  • 2.0.2

Solution

Upgrade to version 2.0.2 or above.

Impact 5.5 MEDIUM

AV:N/AC:L/Au:S/C:N/I:P/A:P

Learn more about CVSS

Weakness

  • CWE-264

Source file

packagist/moodle/moodle/CVE-2011-4285.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:54 +0000.