Bug 2292043 (CVE-2024-38275, MSA-24-0023) - CVE-2024-38275 moodle: HTTP authorization header is preserved between "emulated redirects"
Summary: CVE-2024-38275 moodle: HTTP authorization header is preserved between "emulat...
Keywords:
Status: NEW
Alias: CVE-2024-38275, MSA-24-0023
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2292948 2292949
Blocks: 2292037
TreeView+ depends on / blocked
 
Reported: 2024-06-12 15:50 UTC by Robb Gatica
Modified: 2024-06-18 18:19 UTC (History)
1 user (show)

Fixed In Version: moodle 4.4.1, moodle 4.3.5, moodle 4.2.8, moodle 4.1.11
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Robb Gatica 2024-06-12 15:50:04 UTC
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.

Issue summary: HTTP authorization header is preserved between "emulated redirects"
Severity/Risk: Minor
Versions affected: 4.4, 4.3 to 4.3.4, 4.2 to 4.2.7, 4.1 to 4.1.10 and earlier unsupported versions
Versions fixed: 4.4.1, 4.3.5, 4.2.8 and 4.1.11
Changes (master):
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-81774

Comment 1 Robb Gatica 2024-06-18 18:19:09 UTC
Created moodle tracking bugs for this issue:

Affects: epel-all [bug 2292948]
Affects: fedora-all [bug 2292949]


Note You need to log in before you can comment on or make changes to this bug.