7.2high
Moodle Blind SQL injection possible via MNet authentication
- Severity
- 7.2high CVSS:3.1 by NVD
- Exploit likelihood
- 0.93% (higher than 61% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-rvmc-8gmg-ggqrBIT-MOODLE-2021-32474
Description
An SQL injection risk existed on sites with MNet enabled and configured, via an XML-RPC call from the connected peer host. Note that this required site administrator access or access to the keypair. Moodle 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8, 3.5 to 3.5.17 and earlier unsupported versions are affected.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| moodle | 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8, 3.5 to 3.5.17 | CVE List |
| moodle/moodle (Packagist) | from 3.10 before 3.10.4, from 3.9 before 3.9.7, from 3.8 before 3.8.9, from 3.5 before 3.5.18 | GitHub Advisory Database |
| moodle moodle | before 3.5.18, from 3.8.0 before 3.8.9, from 3.9.0 before 3.9.7, from 3.10.0 before 3.10.4 | NVD |
| moodle (Bitnami) | before 3.5.18, from 3.8.0 before 3.8.9, from 3.9.0 before 3.9.7, from 3.10.0 before 3.10.4 | Bitnami Vulnerability Database |
All scores
| GitHub | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
An SQL injection risk existed on sites with MNet enabled and configured, via an XML-RPC call from the connected peer host. Note that this required site administrator access or access to the keypair. Moodle 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8, 3.5 to 3.5.17 and earlier unsupported versions are affected.
NVD (es)
Se presentaba un riesgo de inyección SQL en sitios con MNet habilitado y configurado, por medio de una llamada XML-RPC desde el host par conectado. Tenga en cuenta que esto requería el acceso del administrador del sitio o el acceso al par de claves. Moodle versiones 3.10 a 3.10.3, 3.9 a 3.9.6, 3.8 a 3.8.8, 3.5 a 3.5.17 y versiones anteriores no soportadas están afectadas
References
| https://moodle.org/mod/forum/discuss.php?d=422308 | advisory, patch, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-32474 | advisory, web | |
| https://github.com/moodle/moodle | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32474 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rvmc-8gmg-ggqr changed 2024-04-23 | CC-BY-4.0 |
| NVD | CVE-2021-32474 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MOODLE-2021-32474 changed 2026-09-08 | Apache-2.0 |