GHSA-7wmp-2xmx-g6h8
Moodle authorization headers preserved between "emulated redirects"
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | moodle/moodle | >= 4.4.0, < 4.4.2 | 4.4.2 |
| Packagist | moodle/moodle | >= 4.3.0, < 4.3.6 | 4.3.6 |
| Packagist | moodle/moodle | >= 4.2.0, < 4.2.9 | 4.2.9 |
| Packagist | moodle/moodle | < 4.1.12 | 4.1.12 |
Details
As written in the advisory (Markdown source, shown as plain text).
A flaw was found in moodle. The cURL wrapper in Moodle strips HTTPAUTH and USERPWD headers during emulated redirects, but retains other original request headers, so HTTP authorization header information could be unintentionally sent in requests to redirect URLs.
References
External links from the advisory. They lead to third-party sites.