Description
An issue in the logic used to check 0.0.0.0 against the cURL blocked hosts lists resulted in an SSRF risk. This flaw affects Moodle versions 4.2, 4.1 to 4.1.3, 4.0 to 4.0.8, 3.11 to 3.11.14, 3.9 to 3.9.21 and earlier unsupported versions.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | moodle | 4.2.0 – < 4.2.1, 4.1.0 – < 4.1.4, 4.0.0 – < 4.0.9, 3.11.0 – < 3.11.15, < 3.9.22 | 4.2.1 |
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 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | moodle/moodle | >= 4.2.0, < 4.2.1 | 4.2.1 | GHSA-xxp4-mf4h-6cwm |
| Packagist | moodle/moodle | >= 4.1.0, < 4.1.4 | 4.1.4 | GHSA-xxp4-mf4h-6cwm |
| Packagist | moodle/moodle | >= 4.0.0, < 4.0.9 | 4.0.9 | GHSA-xxp4-mf4h-6cwm |
| Packagist | moodle/moodle | >= 3.10.0, < 3.11.15 | 3.11.15 | GHSA-xxp4-mf4h-6cwm |
| Packagist | moodle/moodle | < 3.9.22 | 3.9.22 | GHSA-xxp4-mf4h-6cwm |
Advisories 1
- WID-SEC-2023-1502 Moodle: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 20, 2023
References
- RHBZ#2214373 issue-tracking
- FEDORA-2023-3ca351353f vendor-advisory
- FEDORA-2023-ce24b63b36 vendor-advisory
- https://moodle.org/mod/forum/discuss.php?d=447831