moodle: HTTP authorization header is preserved between "emulated redirects" (CVE-2024-38275)
Moodle's cURL wrapper retained the HTTP authorization header when following emulated redirects, potentially causing sensitive authorization information to be sent unintentionally to redirected URLs. This behavior affects multiple Moodle versions prior to their respective fixed releases. A patch is available to address this issue.
AI Analysis
Technical Summary
The vulnerability in Moodle (CVE-2024-38275) involves the cURL wrapper preserving the original HTTP authorization headers during emulated redirects. This means that when Moodle follows a redirect, it may send the original authorization header to the redirected URL, which could lead to unintended disclosure of sensitive credentials. The issue affects several Moodle versions before the fixed releases. No CVSS score is provided, but the severity is rated high. A patch is available to remediate this vulnerability.
Potential Impact
The impact is the potential unintended exposure of HTTP authorization headers to redirect URLs, which could lead to unauthorized access if the redirected endpoint is not trusted. This could compromise user credentials or tokens included in the authorization header.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade Moodle to the fixed versions to prevent the HTTP authorization header from being preserved during redirects. No additional mitigation steps are indicated.
moodle: HTTP authorization header is preserved between "emulated redirects" (CVE-2024-38275)
Description
Moodle's cURL wrapper retained the HTTP authorization header when following emulated redirects, potentially causing sensitive authorization information to be sent unintentionally to redirected URLs. This behavior affects multiple Moodle versions prior to their respective fixed releases. A patch is available to address this issue.
Affected software
pkg:bitnami/moodleRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Moodle (CVE-2024-38275) involves the cURL wrapper preserving the original HTTP authorization headers during emulated redirects. This means that when Moodle follows a redirect, it may send the original authorization header to the redirected URL, which could lead to unintended disclosure of sensitive credentials. The issue affects several Moodle versions before the fixed releases. No CVSS score is provided, but the severity is rated high. A patch is available to remediate this vulnerability.
Potential Impact
The impact is the potential unintended exposure of HTTP authorization headers to redirect URLs, which could lead to unauthorized access if the redirected endpoint is not trusted. This could compromise user credentials or tokens included in the authorization header.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade Moodle to the fixed versions to prevent the HTTP authorization header from being preserved during redirects. No additional mitigation steps are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BIT-moodle-2024-38275
- Osv Schema Version
- 1.6.2
- Aliases
- ["CVE-2024-38275"]
- Ecosystems
- ["Bitnami"]
- Database Specific Severity
- High
Threat ID: 6aa00617acd9273b49ab7783
Added to database: 09/08/2026, 12:56:55 UTC
Last enriched: 09/08/2026, 13:43:20 UTC
Last updated: 09/10/2026, 19:36:48 UTC
Views: 16
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.