Skip to content

Moodle HTTP authorization header is preserved between "emulated redirects"

High severity GitHub Reviewed Published Jun 18, 2024 to the GitHub Advisory Database • Updated Aug 4, 2024

Package

composer moodle/moodle (Composer)

Affected versions

>= 4.4.0-beta, < 4.4.1
>= 4.3.0-beta, < 4.3.5
>= 4.2.0-beta, < 4.2.8
< 4.1.11

Patched versions

4.4.1
4.3.5
4.2.8
4.1.11

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.

References

Published by the National Vulnerability Database Jun 18, 2024
Published to the GitHub Advisory Database Jun 18, 2024
Reviewed Jun 18, 2024
Last updated Aug 4, 2024

Severity

High

EPSS score

0.043%
(10th percentile)

Weaknesses

CVE ID

CVE-2024-38275

GHSA ID

GHSA-p2cj-86v4-7782

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.