Skip to content
OpenAdvisories
High · 7.5 CVE-2024-38275 BIT-moodle-2024-38275EUVD-2024-2114GHSA-p2cj-86v4-7782

moodle: HTTP authorization header is preserved between "emulated redirects"

Published Jun 18, 2024 · Updated Aug 2, 2024 · Assigned by fedora

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.

Affected products

VendorProductAffectedFixed
Moodle Moodle 4.4, 4.3 – ≤ 4.3.4, 4.2 – ≤ 4.2.7, 4.1 – ≤ 4.1.10 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle >= 4.4.0-beta, < 4.4.1 4.4.1 GHSA-p2cj-86v4-7782
Packagist moodle/moodle >= 4.3.0-beta, < 4.3.5 4.3.5 GHSA-p2cj-86v4-7782
Packagist moodle/moodle >= 4.2.0-beta, < 4.2.8 4.2.8 GHSA-p2cj-86v4-7782
Packagist moodle/moodle < 4.1.11 4.1.11 GHSA-p2cj-86v4-7782

Advisories 1

References