NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2024-38275: Moodle HTTP authorization header is preserved between "emulated redirects"

mediumCVSS 4.0 5.3 · 3.1 7.5GHSA-p2cj-86v4-7782

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 Jun 18, 2024 · Updated May 1, 2025

Affected packages

moodle/moodle

Ecosystem
Composer (PHP)
Affected
>= 4.4.0-beta, < 4.4.1
Fixed in
4.4.1
Check
composer show moodle/moodle

moodle/moodle

Ecosystem
Composer (PHP)
Affected
>= 4.3.0-beta, < 4.3.5
Fixed in
4.3.5
Check
composer show moodle/moodle

moodle/moodle

Ecosystem
Composer (PHP)
Affected
>= 4.2.0-beta, < 4.2.8
Fixed in
4.2.8
Check
composer show moodle/moodle

moodle/moodle

Ecosystem
Composer (PHP)
Affected
< 4.1.11
Fixed in
4.1.11
Check
composer show moodle/moodle

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries