Description
In Moodle, an SQL injection risk was identified in the library fetching a user's recent courses.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Moodle | 3.11, 3.10 to 3.10.4, 3.9 to 3.9.7 and earlier unsupported versions | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | moodle | No fix yet | — |
| Ubuntu Pro 16.04 LTS | moodle | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
StackOverflowExcept1on/CVE-2021-36393 ★ 4 · Oct 27, 2023
Error-based blind SQL injection with bit-shifting approach for Moodle 3.10.4
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | moodle/moodle | >= 3.11.0-beta, < 3.11.1 | 3.11.1 | GHSA-f46j-r7q3-6cm2 |
| Packagist | moodle/moodle | >= 3.10.0-beta, < 3.10.5 | 3.10.5 | GHSA-f46j-r7q3-6cm2 |
| Packagist | moodle/moodle | < 3.9.8 | 3.9.8 | GHSA-f46j-r7q3-6cm2 |
Advisories 1
- WID-SEC-2023-0579 Moodle: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 6, 2023