VDB

CVE-2021-32474

CVE-2021-32474 PUBLISHED CVSS 7.199999809265137 HIGH

Moodle Blind SQL injection possible via MNet authentication

Reported by redhat · Published March 11, 2022

moodle/moodle is fixed in 3.10.4, 3.9.7, 3.8.9 and 1 more (Packagist)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
moodle/moodlePackagist3.10.4, 3.9.7, 3.8.9, 3.5.18
moodlemoodle3.10.4, 3.9.7, 3.8.9, 3.5.18
moodleBitnami3.10.4, 3.9.7, 3.8.9, 3.5.18

Risk scores

CVSS 3.1
7.199999809265137
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/amoodle3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8, 3.5 to 3.5.17
n/amoodle3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8, 3.5 to 3.5.17
moodlemoodle0, 3.8.0, 3.9.0

Timeline

  • May 17, 2021 CVE Published
  • Mar 12, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory
  • Aug 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-32474
vulnetix vdb fixes CVE-2021-32474

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-32474/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›