moodle: authenticated LFI risk in some misconfigured shared hosting environments via modified mod_feedback backup (CVE-2024-34002)
CVE-2024-34002 is a medium severity vulnerability affecting Moodle in certain misconfigured shared hosting environments. It allows an authenticated Moodle user with permissions to restore feedback 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 is misconfigured to permit access to other users' content. Patches are available for affected versions to address this vulnerability.
AI Analysis
Technical Summary
This vulnerability exists in Moodle's mod_feedback backup restoration functionality when deployed in shared hosting environments that are misconfigured to allow cross-user access to web server files outside the Moodle webroot. An authenticated user with restore feedback module permissions and direct web server access can exploit this to execute a local file inclusion attack. The affected versions include all 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 requires specific hosting misconfiguration and user privileges, limiting its impact to such environments.
Potential Impact
An attacker who is an authenticated Moodle user with restore feedback module permissions and direct web server access outside the Moodle webroot in a misconfigured shared hosting environment can perform local file inclusion. This could potentially expose sensitive files or allow code execution depending on the server setup. However, the vulnerability does not affect properly configured environments and requires both specific permissions and hosting misconfiguration.
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. Additionally, ensure that shared hosting environments are properly configured to prevent unauthorized access to other users' content and restrict direct web server access outside the Moodle webroot. These measures will mitigate the risk of exploitation.
moodle: authenticated LFI risk in some misconfigured shared hosting environments via modified mod_feedback backup (CVE-2024-34002)
Description
CVE-2024-34002 is a medium severity vulnerability affecting Moodle in certain misconfigured shared hosting environments. It allows an authenticated Moodle user with permissions to restore feedback 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 is misconfigured to permit access to other users' content. Patches are available for affected versions 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
This vulnerability exists in Moodle's mod_feedback backup restoration functionality when deployed in shared hosting environments that are misconfigured to allow cross-user access to web server files outside the Moodle webroot. An authenticated user with restore feedback module permissions and direct web server access can exploit this to execute a local file inclusion attack. The affected versions include all 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 requires specific hosting misconfiguration and user privileges, limiting its impact to such environments.
Potential Impact
An attacker who is an authenticated Moodle user with restore feedback module permissions and direct web server access outside the Moodle webroot in a misconfigured shared hosting environment can perform local file inclusion. This could potentially expose sensitive files or allow code execution depending on the server setup. However, the vulnerability does not affect properly configured environments and requires both specific permissions and hosting misconfiguration.
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. Additionally, ensure that shared hosting environments are properly configured to prevent unauthorized access to other users' content and restrict direct web server access outside the Moodle webroot. These measures will mitigate the risk of exploitation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BIT-moodle-2024-34002
- Osv Schema Version
- 1.6.2
- Aliases
- ["CVE-2024-34002"]
- Ecosystems
- ["Bitnami"]
- Database Specific Severity
- Medium
Threat ID: 6aa00618acd9273b49ab77ad
Added to database: 09/08/2026, 12:56:56 UTC
Last enriched: 09/08/2026, 13:44:38 UTC
Last updated: 09/10/2026, 19:36:48 UTC
Views: 13
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.