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.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | moodle/moodle | >= 2.0.0, < 2.0.4 | 2.0.4 | GHSA-62wv-866c-rh86 |
| Packagist | moodle/moodle | >= 2.1.0, < 2.1.1 | 2.1.1 | GHSA-62wv-866c-rh86 |