medium5.3
CVE-2024-43432
Moodle authorization headers preserved between "emulated redirects"
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | moodle/moodle | >= 4.4.0, < 4.4.2 | 4.4.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Moodle | Moodle | 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 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2304260
- https://moodle.org/mod/forum/discuss.php?d=461200
- https://github.com/advisories/GHSA-7wmp-2xmx-g6h8
- https://nvd.nist.gov/vuln/detail/CVE-2024-43432
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-82136