Learn about CVE-2021-32474, an SQL injection vulnerability in Moodle affecting versions 3.5 to 3.10.3. Understand the impact, technical details, affected systems, and mitigation steps.
An SQL injection risk was identified in Moodle versions 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 when MNet was enabled and configured. This vulnerability could be exploited via an XML-RPC call from a connected peer host, requiring site administrator access or access to the keypair.
Understanding CVE-2021-32474
This CVE highlights a critical SQL injection vulnerability in Moodle that could lead to unauthorized access and manipulation of sensitive data.
What is CVE-2021-32474?
CVE-2021-32474 is an SQL injection vulnerability affecting Moodle versions 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 when MNet is enabled and configured.
The Impact of CVE-2021-32474
The exploitation of this vulnerability could result in unauthorized access to the Moodle system and potential leakage or manipulation of sensitive data stored within the database.
Technical Details of CVE-2021-32474
The technical details of this CVE include:
Vulnerability Description
An SQL injection risk existed in Moodle due to MNet being enabled and configured, allowing an attacker to exploit this via an XML-RPC call from a connected peer host.
Affected Systems and Versions
Moodle versions 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 by this vulnerability.
Exploitation Mechanism
The vulnerability could be exploited by an attacker with site administrator access or access to the keypair to perform unauthorized SQL injection attacks on the Moodle system.
Mitigation and Prevention
To address CVE-2021-32474, consider the following:
Immediate Steps to Take
Long-Term Security Practices
Patching and Updates
Apply the necessary security patches or updates provided by Moodle to address this vulnerability and enhance the overall security posture of your Moodle environment.