CVE-2018-1134: Moodle Improper Privilege Management
6.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.45759%
CWE
Published
5/13/2022
Updated
4/23/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
moodle/moodle | composer | >= 3.1, < 3.1.12 | 3.1.12 |
moodle/moodle | composer | >= 3.2, < 3.2.9 | 3.2.9 |
moodle/moodle | composer | >= 3.3, < 3.3.6 | 3.3.6 |
moodle/moodle | composer | >= 3.4, < 3.4.3 | 3.4.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper privilege management in portfolio export functionality. The advisory explicitly references the portfolio assignment caller class (MDL-62210) and describes URL manipulation to access unauthorized files. The prepare_package
method is responsible for preparing submission files for portfolio export. If this method fails to validate()
whether the requested files belong to the user's submission context, it would enable the described vulnerability. This aligns with the CWE-269 classification and the attack pattern described (modifying download URLs to access unauthorized resources).