CVE-2015-5340: Moodle sensitive information disclosure
4.3
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.39233%
CWE
Published
5/13/2022
Updated
12/7/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/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 | <= 2.6.11 | |
moodle/moodle | composer | >= 2.7.0, < 2.7.11 | 2.7.11 |
moodle/moodle | composer | >= 2.8.0, < 2.8.9 | 2.8.9 |
moodle/moodle | composer | >= 2.9.0, < 2.9.3 | 2.9.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability arises because the affected PHP scripts (overview.php and view.php) lacked a critical capability check. The commit explicitly adds require_capability('moodle/badges:viewbadges', $context)
to overview.php, confirming its role. While the provided diff does not include view.php, the CVE/GHSA descriptions explicitly name both files as attack vectors. The absence of the capability check in these entry points allowed unauthorized access to badge information. Confidence is high for overview.php (directly patched) and medium for view.php (implied by advisory but no patch shown).