Description
A flaw was found in moodle. The cURL wrapper in Moodle strips HTTPAUTH and USERPWD headers during emulated redirects, but retains other original request headers, so HTTP authorization header information could be unintentionally sent in requests to redirect URLs.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | moodle | < 4.1.12, 4.2 – < 4.2.9, 4.3 – < 4.3.6, 4.4 – < 4.4.2 | 4.1.12 |
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, < 4.4.2 | 4.4.2 | GHSA-7wmp-2xmx-g6h8 |
| Packagist | moodle/moodle | >= 4.3.0, < 4.3.6 | 4.3.6 | GHSA-7wmp-2xmx-g6h8 |
| Packagist | moodle/moodle | >= 4.2.0, < 4.2.9 | 4.2.9 | GHSA-7wmp-2xmx-g6h8 |
| Packagist | moodle/moodle | < 4.1.12 | 4.1.12 | GHSA-7wmp-2xmx-g6h8 |
Advisories 1
- WID-SEC-2024-1877 Moodle: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 28, 2024
References
- RHBZ#2304260 issue-tracking
- https://moodle.org/mod/forum/discuss.php?d=461200