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

CVE-2011-4297: Moodle does not properly restrict comment capabilities

May 13, 2022 (updated April 12, 2025)

comment/lib.php in Moodle 2.0.x before 2.0.4 and 2.1.x before 2.1.1 does not properly restrict comment capabilities, which allows remote attackers to post a comment by leveraging the guest role and operating on a front-page activity.

References

  • github.com/advisories/GHSA-62wv-866c-rh86
  • nvd.nist.gov/vuln/detail/CVE-2011-4297

Code Behaviors & Features

Detect and mitigate CVE-2011-4297 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.0 before 2.0.4, all versions starting from 2.1.0 before 2.1.1

Fixed versions

  • 2.0.4
  • 2.1.1

Solution

Upgrade to versions 2.0.4, 2.1.1 or above.

Impact 6.4 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

packagist/moodle/moodle/CVE-2011-4297.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:00 +0000.