Advisory

GHSA-p2cj-86v4-7782

Also known as: BIT-moodle-2024-38275, CVE-2024-38275

Summary

Moodle HTTP authorization header is preserved between "emulated redirects"

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-06-18 21:30 UTC
Modified
2025-05-01 14:06 UTC

Affected packages and fixes

moodle/moodle

Packagist · All systems

Affected

  • introduced 4.4.0-beta, fixed 4.4.1 (ecosystem)

Fixed versions

4.4.1

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 4.3.0-beta, fixed 4.3.5 (ecosystem)

Fixed versions

4.3.5

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 4.2.0-beta, fixed 4.2.8 (ecosystem)

Fixed versions

4.2.8

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 0, fixed 4.1.11 (ecosystem)

Fixed versions

4.1.11

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences