Security mailing lists by PureSourceCode

CVE-2024-38275

HIGH 7.5CVSS 3.1

Moodle HTTP authorization header is preserved between "emulated redirects"

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.

Published
18 Jun 2024
Last modified
17 Jun 2026
Assigned by
patrick@puiterwijk.org
NVD status
Analyzed
Weakness
CWE-226CWE-459
Also known as
BIT-moodle-2024-38275GHSA-p2cj-86v4-7782
Sources
NVDJSONOSV GHSA-p2cj-86v4-7782JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
< 4.1.11 4.1.11
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 4.2.0, < 4.2.8 4.2.8
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 4.3.0, < 4.3.5 4.3.5
NVD moodle moodle
cpe:2.3:a:moodle:moodle:4.4.0:*:*:*:*:*:*:*
= 4.4.0
OSV Packagist moodle/moodle >= 4.4.0-beta, < 4.4.1 4.4.1
OSV Packagist moodle/moodle >= 4.3.0-beta, < 4.3.5 4.3.5
OSV Packagist moodle/moodle >= 4.2.0-beta, < 4.2.8 4.2.8
OSV Packagist moodle/moodle < 4.1.11 4.1.11

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 18 Jun 2024)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 18 Jun 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.