CVE-2024-43432: Moodle authorization headers preserved between "emulated redirects"
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.
Published Nov 11, 2024 · Updated Nov 12, 2024
Affected packages
moodle/moodle
- Ecosystem
- Composer (PHP)
- Affected
- >= 4.4.0, < 4.4.2
- Fixed in
- 4.4.2
- Check
composer show moodle/moodle
moodle/moodle
- Ecosystem
- Composer (PHP)
- Affected
- >= 4.3.0, < 4.3.6
- Fixed in
- 4.3.6
- Check
composer show moodle/moodle
moodle/moodle
- Ecosystem
- Composer (PHP)
- Affected
- >= 4.2.0, < 4.2.9
- Fixed in
- 4.2.9
- Check
composer show moodle/moodle
moodle/moodle
- Ecosystem
- Composer (PHP)
- Affected
- < 4.1.12
- Fixed in
- 4.1.12
- Check
composer show moodle/moodle
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-26045
Moodle has a Remote Code Execution risk via file restore
high7.2Feb 21, 2026CVE-2026-26047
Moodle TeX formula editor is vulnerable to DoS through lack of execution time limits
medium6.5Feb 21, 2026CVE-2025-67848
Moodle authentication bypass vulnerability
high8.1Feb 3, 2026CVE-2025-67849
Moodle Cross-site Scripting (XSS) vulnerability
high7.3Feb 3, 2026CVE-2025-67850
Moodle vulnerable to Cross-site Scripting
high7.3Feb 3, 2026CVE-2025-67851
Moodle formula injection vulnerability
medium6.1Feb 3, 2026
