CVE-2021-40695:
Moodle Exposure of Sensitive Information to an Unauthorized Actor
4.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.43048%
CWE
Published
9/30/2022
Updated
4/23/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
moodle/moodle | composer | >= 3.11, < 3.11.3 | 3.11.3 |
moodle/moodle | composer | >= 3.10, < 3.10.7 | 3.10.7 |
moodle/moodle | composer | >= 3.9, < 3.9.10 | 3.9.10 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly mentions unauthorized grade disclosure via a quiz web service. Moodle's architecture typically implements web service handlers in external.php
files within module directories. The most logical candidate is the quiz grade retrieval web service function
that lacked proper release status validation
before returning grades. This matches the CWE-200 pattern of missing authorization checks for sensitive data exposure.