Vulnerability · Published Nov 11, 2024 · Assigned by fedora

CVE-2024-43432Moodle: authorization headers preserved between "emulated redirects"

Medium 5.3

In plain English

A medium-severity security flaw in moodle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.3%top 73.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistmoodle/moodle4.4.2GHSA-7wmp-2xmx-g6h8
Packagistmoodle/moodle4.3.6GHSA-7wmp-2xmx-g6h8
Packagistmoodle/moodle4.2.9GHSA-7wmp-2xmx-g6h8
Packagistmoodle/moodle4.1.12GHSA-7wmp-2xmx-g6h8

Affected products (as reported)

VendorProductVersions
moodle 0 – before 4.1.124.2 – before 4.2.94.3 – before 4.3.64.4 – before 4.4.2

Weakness: CWE-319 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References