moodle: authenticated LFI risk in some misconfigured shared hosting environments via modified mod_data backup (CVE-2024-34005)
CVE-2024-34005 is a medium severity vulnerability affecting Moodle in certain misconfigured shared hosting environments. It allows an authenticated Moodle user with permissions to restore database activity modules and direct web server access outside the Moodle webroot to perform a local file inclusion (LFI) attack. This issue arises only if the hosting environment improperly permits access to other users' content. A patch is available to address this vulnerability.
AI Analysis
Technical Summary
In shared hosting setups where access controls are misconfigured to allow cross-user content access, an authenticated Moodle user with the ability to restore database activity modules and direct access to the web server outside the Moodle webroot can exploit a local file inclusion vulnerability via a modified mod_data backup. This flaw affects Moodle versions prior to 4.1.10, versions from 4.2.0 up to but not including 4.2.7, and versions from 4.3.0 up to but not including 4.3.4. The vulnerability is mitigated by applying the available patches.
Potential Impact
Successful exploitation could allow an authenticated user to include local files on the server, potentially exposing sensitive information or enabling further attacks. However, exploitation requires a specific misconfiguration in shared hosting environments and certain user permissions, limiting the scope of impact.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade Moodle to versions 4.1.10 or later, 4.2.7 or later, or 4.3.4 or later as appropriate. Ensuring proper isolation and configuration in shared hosting environments to prevent unauthorized access to other users' content is also recommended.
moodle: authenticated LFI risk in some misconfigured shared hosting environments via modified mod_data backup (CVE-2024-34005)
Description
CVE-2024-34005 is a medium severity vulnerability affecting Moodle in certain misconfigured shared hosting environments. It allows an authenticated Moodle user with permissions to restore database activity modules and direct web server access outside the Moodle webroot to perform a local file inclusion (LFI) attack. This issue arises only if the hosting environment improperly permits access to other users' content. A patch is available to address this vulnerability.
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
In shared hosting setups where access controls are misconfigured to allow cross-user content access, an authenticated Moodle user with the ability to restore database activity modules and direct access to the web server outside the Moodle webroot can exploit a local file inclusion vulnerability via a modified mod_data backup. This flaw affects Moodle versions prior to 4.1.10, versions from 4.2.0 up to but not including 4.2.7, and versions from 4.3.0 up to but not including 4.3.4. The vulnerability is mitigated by applying the available patches.
Potential Impact
Successful exploitation could allow an authenticated user to include local files on the server, potentially exposing sensitive information or enabling further attacks. However, exploitation requires a specific misconfiguration in shared hosting environments and certain user permissions, limiting the scope of impact.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade Moodle to versions 4.1.10 or later, 4.2.7 or later, or 4.3.4 or later as appropriate. Ensuring proper isolation and configuration in shared hosting environments to prevent unauthorized access to other users' content is also recommended.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BIT-moodle-2024-34005
- Osv Schema Version
- 1.6.2
- Aliases
- ["CVE-2024-34005"]
- Ecosystems
- ["Bitnami"]
- Database Specific Severity
- Medium
Threat ID: 6aa00617acd9273b49ab7793
Added to database: 09/08/2026, 12:56:55 UTC
Last enriched: 09/08/2026, 13:44:22 UTC
Last updated: 09/10/2026, 19:36:48 UTC
Views: 12
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.