Description
The cURL wrapper in Moodle retained the original request headers when following redirects, so HTTP authorization header information could be unintentionally sent in requests to redirect URLs.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Moodle | Moodle | 4.4, 4.3 – ≤ 4.3.4, 4.2 – ≤ 4.2.7, 4.1 – ≤ 4.1.10 | — |
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.4.0-beta, < 4.4.1 | 4.4.1 | GHSA-p2cj-86v4-7782 |
| Packagist | moodle/moodle | >= 4.3.0-beta, < 4.3.5 | 4.3.5 | GHSA-p2cj-86v4-7782 |
| Packagist | moodle/moodle | >= 4.2.0-beta, < 4.2.8 | 4.2.8 | GHSA-p2cj-86v4-7782 |
| Packagist | moodle/moodle | < 4.1.11 | 4.1.11 | GHSA-p2cj-86v4-7782 |
Advisories 1
- WID-SEC-2024-1407 Moodle: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 18, 2024