CVE-2024-38275 json
moodle: HTTP authorization header is preserved between "emulated redirects"
published 2024-06-18 2 y ago modified 2026-09-08 2 mo ago also BIT-moodle-2024-38275 , EUVD-2024-2114 , GHSA-p2cj-86v4-7782
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist moodle/moodle 4.1.11, 4.2.8, 4.3.5, 4.4.1
- bitnami moodle 4.1.11, 4.2.8, 4.3.5, 4.4.1
- Moodle Moodle 4.4.1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-38275 updated
moodle: HTTP authorization header is preserved between "emulated redirects"
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | >=4.4.0-beta, <4.4.1 >=4.3.0-beta, <4.3.5 >=4.2.0-beta, <4.2.8 <4.1.11 |
4.4.1 4.3.5 4.2.8 4.1.11 |
| bitnami | moodle | <4.1.11 >=4.2.0, <4.2.8 >=4.3.0, <4.3.5 >=4.4.0, <4.4.1 |
4.1.11 4.2.8 4.3.5 4.4.1 |
Affected products
- Moodle Moodle
Classification
References
-
github.com
/moodle/moodle/commit/0df3c5837a592e6663c4d531ff6a1f776bc2f785
web
-
github.com
/moodle/moodle/commit/3e38c84315a7991ce5ef5f241f5e873b5ca24f01
web
-
github.com
/moodle/moodle/commit/836b2c23a210317d130017d77bb64e3b510869a9
web
-
github.com
/moodle/moodle/commit/f7988538b2208c55f2c40ce4f0815901dc88049b
web
-
moodle.org
/mod/forum/discuss.php?d=459500
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-38275
advisory, web
-
github.com
/moodle/moodle
package
Sources
- CVE List CVE-2024-38275
- GitHub Advisory GHSA-p2cj-86v4-7782
- NVD CVE-2024-38275
- OSV BIT-moodle-2024-38275
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.