MEDIUM4.3
GHSA-93pj-4p65-qmr9
Insufficient user authorization in Moodle
Quick fix
GHSA-93pj-4p65-qmr9 — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^3.11.5Details
A flaw was found in Moodle in versions 3.11 to 3.11.4, 3.10 to 3.10.8, 3.9 to 3.9.11 and earlier unsupported versions. Insufficient capability checks could lead to users accessing their grade report for courses where they did not have the required gradereport/user:view capability.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-0334[ADVISORY]
- https://github.com/moodle/moodle/commit/1964d68f8500ea3c7b776fa8a2af6266ed109f84[WEB]
- https://github.com/moodle/moodle/commit/6d18f136ae88ec97e351a723df570816a959ec68[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2043664[WEB]
- https://moodle.org/mod/forum/discuss.php?d=431102[WEB]