Moodle does not properly restrict comment capabilities
Moderate severity
GitHub Reviewed
Published
May 13, 2022
to the GitHub Advisory Database
•
Updated Apr 12, 2025
Package
Affected versions
>= 2.0.0, < 2.0.4
>= 2.1.0, < 2.1.1
Patched versions
2.0.4
2.1.1
Description
Published by the National Vulnerability Database
Jul 16, 2012
Published to the GitHub Advisory Database
May 13, 2022
Reviewed
Apr 12, 2025
Last updated
Apr 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