CVE-2021-32474:
Moodle Blind SQL injection possible via MNet authentication
7.2
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.72593%
CWE
Published
3/12/2022
Updated
4/23/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
moodle/moodle | composer | >= 3.10, < 3.10.4 | 3.10.4 |
moodle/moodle | composer | >= 3.9, < 3.9.7 | 3.9.7 |
moodle/moodle | composer | >= 3.8, < 3.8.9 | 3.8.9 |
moodle/moodle | composer | >= 3.5, < 3.5.18 | 3.5.18 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability occurs in MNet-enabled systems via XML-RPC calls. The description indicates improper SQL query construction with user-controlled input. MNet authentication handling (auth/mnet) is the logical component for this interaction. The 'user_authorise' method is a core part of MNet's authentication flow, and historical analysis of similar Moodle vulnerabilities shows this function previously used unsafe SQL concatenation. The high confidence comes from the correlation between the attack vector (MNet XML-RPC), CWE-89 pattern, and the critical role of user_authorise in processing external authentication requests.