CVE-2024-38275
7.5high
moodle: HTTP authorization header is preserved between "emulated redirects"
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.45% (higher than 40% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- fedora
- Also known as
- GHSA-p2cj-86v4-7782BIT-MOODLE-2024-38275
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
| Product or package | Versions | Reported by |
|---|---|---|
| Moodle Moodle | 4.4, from 4.3 up to 4.3.4, from 4.2 up to 4.2.7, from 4.1 up to 4.1.10, from 4.1.0 up to 4.1.10, from 4.2.0 up to 4.2.7, from 4.3.0 up to 4.3.4, from 4.4.0 before 4.4.1 and 4 more | CVE List, NVD |
| moodle/moodle (Packagist) | from 4.4.0-beta before 4.4.1, from 4.3.0-beta before 4.3.5, from 4.2.0-beta before 4.2.8, before 4.1.11 | GitHub Advisory Database |
| moodle (Bitnami) | before 4.1.11, from 4.2.0 before 4.2.8, from 4.3.0 before 4.3.5, from 4.4.0 before 4.4.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 7.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
NVD (es)
El contenedor cURL en Moodle retuvo los encabezados de solicitud originales al seguir redirecciones, por lo que la información del encabezado de autorización HTTP podría enviarse involuntariamente en solicitudes para redireccionar URL.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-38275 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-p2cj-86v4-7782 changed 2025-05-01 | CC-BY-4.0 |
| NVD | CVE-2024-38275 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MOODLE-2024-38275 changed 2026-09-08 | Apache-2.0 |