Skip to main content
EPSS 0.5%top 60%

moodle: authenticated LFI risk in some misconfigured shared hosting environments via modified mod_feedback backup (CVE-2024-34002)

0
Medium
Published: 05/02/2025 (05/02/2025, 06:18:31 UTC)
Source: GCVE Database
Product: moodle

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

Bitnamimore threats →ghsa
moodle
pkg:bitnami/moodle
Affected versions
<4.1.10>=4.2.0 <4.2.7>=4.3.0 <4.3.4

Run 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

AILast updated: 09/08/2026, 13:44:38 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses