CVE-2015-3275:
Moodle multiple cross-site scripting (XSS) vulnerabilities
6.1
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
5/13/2022
Updated
1/26/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
moodle/moodle | composer | >= 2.7.0, < 2.7.9 | 2.7.9 |
moodle/moodle | composer | >= 2.8.0, < 2.8.7 | 2.8.7 |
moodle/moodle | composer | >= 2.9.0, < 2.9.1 | 2.9.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper validation of the 'currentorg' parameter in mod/scorm/player.php and mod/scorm/prereqs.php. The commit patches show that these files previously used PARAM_RAW for 'currentorg' without checking if the value was a valid organization identifier in the database. This allowed attackers to inject arbitrary HTML/JavaScript via the parameter. The added validation in the patch (checking scorm_scoes) confirms the root cause. While the code resides in the global scope of the scripts (not specific named functions), the parameter handling logic in these files is the vulnerable entry point.