5.3medium
Moodle: authorization headers preserved between "emulated redirects"
- Severity
- 5.3medium CVSS:3.1 by fedora
- Exploit likelihood
- 0.33% (higher than 28% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- fedora
- Also known as
- GHSA-7wmp-2xmx-g6h8BIT-MOODLE-2024-43432
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
| Product or package | Versions | Reported by |
|---|---|---|
| moodle | before 4.1.12, from 4.2 before 4.2.9, from 4.3 before 4.3.6, from 4.4 before 4.4.2 | CVE List |
| moodle moodle | before 4.1.12, from 4.2 before 4.2.9, from 4.3 before 4.3.6, from 4.4 before 4.4.2, from 4.2.0 before 4.2.9, from 4.3.0 before 4.3.6, from 4.4.0 before 4.4.2 | CVE List, NVD |
| moodle/moodle (Packagist) | from 4.4.0 before 4.4.2, from 4.3.0 before 4.3.6, from 4.2.0 before 4.2.9, before 4.1.12 | GitHub Advisory Database |
| moodle (Bitnami) | before 4.1.12, from 4.2.0 before 4.2.9, from 4.3.0 before 4.3.6, from 4.4.0 before 4.4.2 | Bitnami Vulnerability Database |
All scores
| fedora | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 5.3low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Se encontró una falla en Moodle. El contenedor cURL en Moodle elimina los encabezados HTTPAUTH y USERPWD durante las redirecciones emuladas, pero conserva otros encabezados de solicitud originales, por lo que la información del encabezado de autorización HTTP podría enviarse involuntariamente en solicitudes para redireccionar URL.
References
| https://bugzilla.redhat.com/show_bug.cgi?id=2304260 | issue-tracking, permissions-required, web | |
| https://moodle.org/mod/forum/discuss.php?d=461200 | advisory, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-43432 | advisory, web | |
| https://github.com/moodle/moodle | package | |
| http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-82136 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-43432 changed 2024-11-12 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7wmp-2xmx-g6h8 changed 2025-05-02 | CC-BY-4.0 |
| NVD | CVE-2024-43432 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MOODLE-2024-43432 changed 2026-09-08 | Apache-2.0 |