Vulnerability · Published Jun 18, 2024 · Assigned by fedora

CVE-2024-38275moodle: HTTP authorization header is preserved between "emulated redirects"

High 7.5

In plain English

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

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 60.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Packagistmoodle/moodle4.4.1GHSA-p2cj-86v4-7782
Packagistmoodle/moodle4.3.5GHSA-p2cj-86v4-7782
Packagistmoodle/moodle4.2.8GHSA-p2cj-86v4-7782
Packagistmoodle/moodle4.1.11GHSA-p2cj-86v4-7782

Affected products (as reported)

VendorProductVersions
Moodle Moodle 4.44.3 – through 4.3.44.2 – through 4.2.74.1 – through 4.1.10

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

References