GitHub Advisory Database
GHSA-6g5x-h5x7-q4mq
Moodle has an IDOR in web service which allows users enrolled in a course to access some details of other users
Details
A flaw was found in Moodle. Insufficient capability checks made it possible for a user enrolled in a course to access some details, such as the full name and profile image URL, of other users they did not have permission to access.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | All versions before 4.1.18 (fixed in 4.1.18) |
| Packagist | moodle/moodle | From 4.3.0-beta before 4.3.12 (fixed in 4.3.12) |
| Packagist | moodle/moodle | From 4.4.0-beta before 4.4.8 (fixed in 4.4.8) |
| Packagist | moodle/moodle | From 4.5.0-beta before 4.5.4 (fixed in 4.5.4) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-3640
- https://github.com/moodle/moodle/commit/64a4311266cbe9a9a942c836931bef224018b77d
- https://access.redhat.com/security/cve/CVE-2025-3640
- https://bugzilla.redhat.com/show_bug.cgi?id=2359734
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=467601