What’s Vulnerable › Vulnerabilities
CVE-2024-38275: moodle: HTTP authorization header is preserved between "emulated redirects"
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-06-18 · updated 2026-06-17
- Weakness: CWE-226
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
- Moodle: before 4.1.11; from 4.2.0 before 4.2.8; from 4.3.0 before 4.3.5; 4.4.0 — fixed in 4.1.11, 4.2.8, 4.3.5
How to fix
Upgrade to a fixed version: Moodle 4.1.11, 4.2.8, 4.3.5. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-38275 or the next vulnerability affects your stack