Description
The forum_print_latest_discussions function in mod/forum/lib.php in Moodle through 2.4.11, 2.5.x before 2.5.8, 2.6.x before 2.6.5, and 2.7.x before 2.7.2 allows remote authenticated users to bypass the individual answer-posting requirement without the mod/forum:viewqandawithoutposting capability, and discover an author's username, by leveraging the student role and visiting a Q&A forum.
Remediation
References
Related Vulnerabilities
Oracle Database Server CVE-2008-2587 Vulnerability (CVE-2008-2587)
OpenSSL Resource Management Errors Vulnerability (CVE-2015-1792)
Jetty Sensitive Information in Resource Not Removed Before Reuse Vulnerability (CVE-2026-5795)
MySQL Deserialization of Untrusted Data Vulnerability (CVE-2019-14540)
WordPress Plugin WordPress Alipay/Tenpay/PayPal Cross-Site Scripting (3.6.0)