# CVE-2024-43432: Moodle: authorization headers preserved between "emulated redirects"

- Severity: Medium 5.3 (CVSS:3.1, scored by fedora) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2024-11-11T12:16:04.901Z
- Modified: 2026-09-08T08:48:15.240Z
- Also known as: GHSA-7wmp-2xmx-g6h8, BIT-MOODLE-2024-43432
- Weaknesses: CWE-319
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: fedora

## 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.

(As written by CVE List.)

## Affected

- 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
- 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
- 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
- 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

## Every score

- fedora: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Low `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Low `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: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## 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

- CVE List: [CVE-2024-43432](https://www.cve.org/CVERecord?id=CVE-2024-43432), CVE Terms of Use, modified 2024-11-12
- GitHub Advisory Database: [GHSA-7wmp-2xmx-g6h8](https://github.com/advisories/GHSA-7wmp-2xmx-g6h8), CC-BY-4.0, modified 2025-05-02
- NVD: [CVE-2024-43432](https://nvd.nist.gov/vuln/detail/CVE-2024-43432), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2024-43432](https://osv.dev/vulnerability/BIT-MOODLE-2024-43432), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-43432 · Whole record: https://cve.day/CVE-2024-43432.json · Rebuilt by cve.day 2026-11-25T22:58:48.031Z
