CVE-2024-38275
Moodle HTTP authorization header is preserved between "emulated redirects"
Overview
Description
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-226, CWE-459
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| 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.114.2.84.3.54.4.1 |
| Composer (PHP) | 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.14.3.54.2.84.1.11 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/moodle/moodle
- github.com https://github.com/moodle/moodle/commit/0df3c5837a592e6663c4d531ff6a1f776bc2f785
- github.com https://github.com/moodle/moodle/commit/3e38c84315a7991ce5ef5f241f5e873b5ca24f01
- github.com https://github.com/moodle/moodle/commit/836b2c23a210317d130017d77bb64e3b510869a9
- github.com https://github.com/moodle/moodle/commit/f7988538b2208c55f2c40ce4f0815901dc88049b
- moodle.org https://moodle.org/mod/forum/discuss.php?d=459500
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-38275
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.