Skip to main content
EPSS 0.5%top 60%

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

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

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

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:22 UTC

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.

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-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 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