CVE-2024-38275
JSON

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 packageVersionsReported by
Moodle Moodle4.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 moreCVE 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.11GitHub 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.1Bitnami Vulnerability Database

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub7.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHubmedium CVSS:4.0CVSS: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 Databasehigh rating

Classification

CWE-226CWE-459

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2024-38275 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-p2cj-86v4-7782 changed 2025-05-01CC-BY-4.0
NVDCVE-2024-38275 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MOODLE-2024-38275 changed 2026-09-08Apache-2.0