~ / search / GHSA-p2cj-86v4-7782

GHSA-p2cj-86v4-7782

Moodle HTTP authorization header is preserved between "emulated redirects"

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-38275

Packages

EcosystemPackageAffectedFixed in
Packagist moodle/moodle >= 4.4.0-beta, < 4.4.1 4.4.1
Packagist moodle/moodle >= 4.3.0-beta, < 4.3.5 4.3.5
Packagist moodle/moodle >= 4.2.0-beta, < 4.2.8 4.2.8
Packagist moodle/moodle < 4.1.11 4.1.11

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.