CVE-2022-40315: SQL Injection
A limited SQL injection risk was identified in the "browse list of users" site administration page.
Other sources
Severity/Risk: Minor Versions affected: 4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier unsupported versions Versions fixed: 4.0.4, 3.11.10 and 3.9.17 Reported by: Vincent CVE identifier: CVE-2022-40315 Changes (master): http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75283 Tracker issue: MDL-75283 Minor SQL injection risk in admin user browsing
— Red Hat
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 4.0.4 - Upgrade
Upgrade
composer/moodle/moodleto a version that resolves this vulnerability.Fixed in 3.11.10 - Upgrade
Upgrade
composer/moodle/moodleto a version that resolves this vulnerability.Fixed in 3.9.17 - Upgrade
Upgrade
moodleto a version that resolves this vulnerability.Fixed in 4.0.4 - Upgrade
Upgrade
moodleto a version that resolves this vulnerability.Fixed in 3.11.10 - Upgrade
Upgrade
moodleto a version that resolves this vulnerability.Fixed in 3.9.17 - Compensating control
Limit access to the Moodle site administration page that includes the "browse list of users" function (the affected area) to trusted administrators until the fixed versions (4.0.4, 3.11.10, 3.9.17) are deployed.
Event History
Frequently Asked Questions
What is CVE-2022-40315?
CVE-2022-40315 is a vulnerability that allows for a limited SQL injection risk in the browse list of users site administration page.
How severe is CVE-2022-40315?
CVE-2022-40315 has a severity score of 9.8 (critical).
Which software versions are affected by CVE-2022-40315?
CVE-2022-40315 affects Moodle versions 3.9.0 to 3.9.17, 3.11.0 to 3.11.10, and 4.0.0 to 4.0.4.
How can I fix the CVE-2022-40315 vulnerability?
To fix the CVE-2022-40315 vulnerability, you should update your Moodle installation to a version that is not affected by the vulnerability.
Where can I find more information about CVE-2022-40315?
You can find more information about CVE-2022-40315 on the Red Hat Security Advisory, Moodle's git repository, and Bugzilla.