GitHub Advisory Database
GHSA-j822-x5gg-5r56
Moodle allows users to retrieve information they did not have permission to access
Details
A flaw was found in Moodle. Dynamic tables did not enforce capability checks, which resulted in users having the ability to retrieve information they did not have permission to access.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | All versions before 4.1.13 (fixed in 4.1.13) |
| Packagist | moodle/moodle | From 4.2.0-beta before 4.2.10 (fixed in 4.2.10) |
| Packagist | moodle/moodle | From 4.3.0-beta before 4.3.7 (fixed in 4.3.7) |
| Packagist | moodle/moodle | From 4.4.0-beta before 4.4.3 (fixed in 4.4.3) |