Description
mod/forum/unsubscribeall.php in Moodle 2.1.x before 2.1.7 and 2.2.x before 2.2.4 does not consider whether a forum is optional, which allows remote authenticated users to bypass forum-subscription requirements by leveraging the student role and unsubscribing from all forums.
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=refs%2Fheads%2FMOODLE_22_STABLE&st=commit&s=MDL-31460
- moodle-subscriptions-sec-bypass(76958) vdb-entry
- 49890 third-party-advisory
- [oss-security] 20120717 Moodle security notifications public mailing-list
- 54481 vdb-entry