Skip to content
Fencer Vulns
high 7.5

CVE-2024-38275 json

moodle: HTTP authorization header is preserved between "emulated redirects"

published 2024-06-18 2 y ago modified 2026-09-08 2 mo ago also BIT-moodle-2024-38275 , EUVD-2024-2114 , GHSA-p2cj-86v4-7782

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 39%
public exploits
0
none known

Summary

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.

Patch / fix

  • packagist moodle/moodle 4.1.11, 4.2.8, 4.3.5, 4.4.1
  • bitnami moodle 4.1.11, 4.2.8, 4.3.5, 4.4.1
  • Moodle Moodle 4.4.1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-38275 updated

moodle: HTTP authorization header is preserved between "emulated redirects"

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
packagist moodle/moodle
>=4.4.0-beta, <4.4.1
>=4.3.0-beta, <4.3.5
>=4.2.0-beta, <4.2.8
<4.1.11
4.4.1
4.3.5
4.2.8
4.1.11
bitnami moodle
<4.1.11
>=4.2.0, <4.2.8
>=4.3.0, <4.3.5
>=4.4.0, <4.4.1
4.1.11
4.2.8
4.3.5
4.4.1

Affected products

  • Moodle Moodle

Classification

Weakness
  • CWE-226 Sensitive Information in Resource Not Removed Before Reuse
  • CWE-459 Incomplete Cleanup

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.