PT-2021-3114
CVE-2021-32474
·
Published
2021-05-10
·
Updated
2024-03-06
Description by
CVSS 2.0
9.0
HighMetricsAV:N/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions
Moodle versions 3.5 to 3.5.17
Moodle versions 3.8 to 3.8.8
Moodle versions 3.9 to 3.9.6
Moodle versions 3.10 to 3.10.3
Description
An SQL injection risk exists on sites with MNet enabled and configured, via an XML-RPC call from the connected peer host. This requires site administrator access or access to the keypair. The issue is due to insufficient cleaning of user-provided data in the XML-RPC call, allowing a remote attacker to execute arbitrary SQL queries.
Recommendations
For Moodle versions 3.5 to 3.5.17, update to a version later than 3.5.17 to resolve the issue.
For Moodle versions 3.8 to 3.8.8, update to a version later than 3.8.8 to resolve the issue.
For Moodle versions 3.9 to 3.9.6, update to a version later than 3.9.6 to resolve the issue.
For Moodle versions 3.10 to 3.10.3, update to a version later than 3.10.3 to resolve the issue.
As a temporary workaround, consider restricting access to the XML-RPC call to minimize the risk of exploitation.
Found an issue in the description? Have something to add? Feel free to write us 👾