GHSA-62wv-866c-rh86medium6.6
Moodle does not properly restrict comment capabilities
Impact
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.
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.0 before 2.0.4Ecosystem versions | 2.0.4 |
| From 2.1.0 before 2.1.1Ecosystem versions | 2.1.1 |
Version evidence: OSV · GHSA-62wv-866c-rh86
View original version evidence (0 explicit versions)
Original source description
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.