VDB
Sign up
HIGH7.2

GHSA-rvmc-8gmg-ggqr

Moodle Blind SQL injection possible via MNet authentication

Quick fix

GHSA-rvmc-8gmg-ggqr — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^3.10.4

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 3.10Fixed in: 3.10.4
Fixcomposer require moodle/moodle:^3.10.4
Packagist/moodle/moodle
Introduced in: 3.9Fixed in: 3.9.7
Fixcomposer require moodle/moodle:^3.9.7
Packagist/moodle/moodle
Introduced in: 3.8Fixed in: 3.8.9
Fixcomposer require moodle/moodle:^3.8.9
Packagist/moodle/moodle
Introduced in: 3.5Fixed in: 3.5.18
Fixcomposer require moodle/moodle:^3.5.18

References