MEDIUM6.6
GHSA-62wv-866c-rh86
Moodle does not properly restrict comment capabilities
Quick fix
GHSA-62wv-866c-rh86 — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^2.0.4Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-4297[ADVISORY]
- http://git.moodle.org[PACKAGE]
- http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=9da3c2efadcc5f56cb8adc19c67ed16be35780f3[WEB]
- http://git.moodle.org/gw?p=moodle.git;a=commit;h=9da3c2efadcc5f56cb8adc19c67ed16be35780f3[WEB]
- http://moodle.org/mod/forum/discuss.php?d=182740[WEB]
- http://openwall.com/lists/oss-security/2011/11/14/1[WEB]