Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-43432 BIT-moodle-2024-43432EUVD-2024-3215GHSA-7wmp-2xmx-g6h8

Moodle: authorization headers preserved between "emulated redirects"

Published Nov 11, 2024 · Updated Nov 12, 2024 · Assigned by fedora

Description

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.

Affected products

VendorProductAffectedFixed
— moodle < 4.1.12, 4.2 – < 4.2.9, 4.3 – < 4.3.6, 4.4 – < 4.4.2 4.1.12

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, < 4.4.2 4.4.2 GHSA-7wmp-2xmx-g6h8
Packagist moodle/moodle >= 4.3.0, < 4.3.6 4.3.6 GHSA-7wmp-2xmx-g6h8
Packagist moodle/moodle >= 4.2.0, < 4.2.9 4.2.9 GHSA-7wmp-2xmx-g6h8
Packagist moodle/moodle < 4.1.12 4.1.12 GHSA-7wmp-2xmx-g6h8

Advisories 1

References