Description
In Moodle, insufficient redirect handling made it possible to blindly bypass cURL blocked hosts/allowed ports restrictions, resulting in a blind SSRF risk.
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
-
T0X1Cx/CVE-2021-36396-Moodle-Time-Based-SQLi-Exploit ★ 22 · Nov 4, 2023
This script demonstrates a time-based blind SQL injection on Moodle platforms, exploiting response delays to extract data.
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-4rmj-w58m-fvch |
| Packagist | moodle/moodle | >= 3.10.0-beta, < 3.10.5 | 3.10.5 | GHSA-4rmj-w58m-fvch |
| Packagist | moodle/moodle | < 3.9.8 | 3.9.8 | GHSA-4rmj-w58m-fvch |
Advisories 1
- WID-SEC-2023-0579 Moodle: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 6, 2023