Skip to content

Moodle HTTP authorization header is preserved between "emulated redirects"

Moderate severity GitHub Reviewed Published Jun 18, 2024 to the GitHub Advisory Database • Updated Jun 18, 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 Jun 18, 2024

Severity

Moderate
4.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

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.