CVE-2021-36393: Moodle SQL Injection vulnerability
In Moodle, an SQL injection risk was identified in the library fetching a user's recent courses.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/moodle/moodleto a version that resolves this vulnerability.Fixed in 3.9.8 - Upgrade
Upgrade
composer/moodle/moodleto a version that resolves this vulnerability.Fixed in 3.10.5 - Upgrade
Upgrade
composer/moodle/moodleto a version that resolves this vulnerability.Fixed in 3.11.1
Event History
Frequently Asked Questions
What is CVE-2021-36393?
CVE-2021-36393 is an SQL injection vulnerability in Moodle that allows an attacker to execute arbitrary SQL queries.
How does CVE-2021-36393 affect Moodle?
CVE-2021-36393 affects Moodle versions 3.9.8, 3.10.0 to 3.10.5, and 3.11.0 to 3.11.1, allowing an attacker to exploit an SQL injection vulnerability in the library fetching a user's recent courses.
What is the severity of CVE-2021-36393?
CVE-2021-36393 has a severity rating of 9.8 (Critical).
How can I fix CVE-2021-36393?
To fix CVE-2021-36393, users should upgrade Moodle to a version that is not affected by the vulnerability, such as version 3.9.9, 3.10.6, or 3.11.2.
Where can I find more information about CVE-2021-36393?
You can find more information about CVE-2021-36393 on the Moodle website: https://moodle.org/mod/forum/discuss.php?d=424798.