CVE-2024-38275
HIGH 7.5CVSS 3.1Moodle HTTP authorization header is preserved between "emulated redirects"
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.
- Published
- 18 Jun 2024
- Last modified
- 17 Jun 2026
- Assigned by
- patrick@puiterwijk.org
- NVD status
- Analyzed
- Weakness
- CWE-226CWE-459
- Also known as
- BIT-moodle-2024-38275GHSA-p2cj-86v4-7782
- Sources
- NVDJSONOSV GHSA-p2cj-86v4-7782JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
< 4.1.11 | 4.1.11 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.2.0, < 4.2.8 | 4.2.8 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.3.0, < 4.3.5 | 4.3.5 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:4.4.0:*:*:*:*:*:*:* |
= 4.4.0 | |
| OSV | Packagist | moodle/moodle | >= 4.4.0-beta, < 4.4.1 | 4.4.1 |
| OSV | Packagist | moodle/moodle | >= 4.3.0-beta, < 4.3.5 | 4.3.5 |
| OSV | Packagist | moodle/moodle | >= 4.2.0-beta, < 4.2.8 | 4.2.8 |
| OSV | Packagist | moodle/moodle | < 4.1.11 | 4.1.11 |
References
- https://moodle.org/mod/forum/discuss.php?d=459500 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-38275 · ADVISORY
- https://github.com/moodle/moodle/commit/0df3c5837a592e6663c4d531ff6a1f776bc2f785 · WEB
- https://github.com/moodle/moodle/commit/3e38c84315a7991ce5ef5f241f5e873b5ca24f01 · WEB
- https://github.com/moodle/moodle/commit/836b2c23a210317d130017d77bb64e3b510869a9 · WEB
- https://github.com/moodle/moodle/commit/f7988538b2208c55f2c40ce4f0815901dc88049b · WEB
- https://github.com/moodle/moodle · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 18 Jun 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 18 Jun 2024)