Skip to content
Fencer Vulns
high 7.2

CVE-2021-32474 json

Moodle Blind SQL injection possible via MNet authentication

published 2022-03-11 4 y ago modified 2026-09-08 2 mo ago also BIT-moodle-2021-32474 , EUVD-2022-1537 , GHSA-rvmc-8gmg-ggqr

cvss
7.2
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 60%
public exploits
0
none known

Summary

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.

Patch / fix

  • packagist moodle/moodle 3.5.18, 3.8.9, 3.9.7, 3.10.4
  • bitnami moodle 3.5.18, 3.8.9, 3.9.7, 3.10.4
  • moodle moodle 3.5.18, 3.8.9, 3.9.7, 3.10.4

Exploit prediction

0.93% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
GitHub 3.1 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P
OSV 3.1 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
packagist moodle/moodle
>=3.10, <3.10.4
>=3.9, <3.9.7
>=3.8, <3.8.9
>=3.5, <3.5.18
3.10.4
3.9.7
3.8.9
3.5.18
bitnami moodle
<3.5.18
>=3.8.0, <3.8.9
>=3.9.0, <3.9.7
>=3.10.0, <3.10.4
3.5.18
3.8.9
3.9.7
3.10.4

Affected products

  • n/a moodle

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.