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.
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 |
Reported by: | cameron1729 |
CVE identifier: | CVE-2024-38275 |
Changes (master): | http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-81774 |
Tracker issue: | MDL-81774 HTTP authorization header is preserved between "emulated redirects" |