MSA-22-0003: Capability gradereport/user:view not always respected when navigating to a user's course grade report

by Michael Hawkins.  

Insufficient capability checks could lead to users accessing their grade report for courses where they did not have the required gradereport/user:view capability.


Severity/Risk:Minor
Versions affected:3.11 to 3.11.4, 3.10 to 3.10.8, 3.9 to 3.9.11 and earlier unsupported versions
Versions fixed:3.11.5, 3.10.9 and 3.9.12
Reported by:Deds Castillo
CVE identifier:CVE-2022-0334
Changes (master):http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72772
Tracker issue:MDL-72772 Capability gradereport/user:view not always respected when navigating to a user's course grade report

Read more https://moodle.org/mod/forum/discuss.php?d=431102&parent=1734816