Insufficient user authorization in Moodle
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 3.11 before 3.11.5Ecosystem versions | 3.11.5 |
| From 3.10 before 3.10.8Ecosystem versions | 3.10.8 |
| Earlier releases before 3.9.11Ecosystem versions | 3.9.11 |
Version evidence: OSV · GHSA-93pj-4p65-qmr9
View original version evidence (277 explicit versions)
Original source description
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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2022-0334
- Patch github.com/moodle/moodle/commit/1964d68f8500ea3c7b776fa8a2af6266ed109f84
- Patch github.com/moodle/moodle/commit/6d18f136ae88ec97e351a723df570816a959ec68
- Source reference bugzilla.redhat.com/show_bug.cgi
- Source reference moodle.org/mod/forum/discuss.php