Skip to main content
EPSS 0.4%top 71%

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

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

Description

CVE-2024-34003 is a medium severity vulnerability in Moodle affecting certain versions prior to 4.1.10, between 4.2.0 and 4.2.7, and between 4.3.0 and 4.3.4. It allows an authenticated Moodle user with permissions to restore workshop modules and direct web server access outside the Moodle webroot in a misconfigured shared hosting environment to perform a local file inclusion (LFI). This vulnerability arises only if the hosting environment is misconfigured to permit access to other users' content. A patch is available to address this issue.

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

Technical Analysis

In Moodle installations running affected versions, a local file inclusion vulnerability exists when the hosting environment is misconfigured to allow users access to other users' content. Specifically, an authenticated user with the ability to restore workshop modules and direct access to the web server outside the Moodle webroot can exploit a modified mod_workshop backup to execute local file inclusion. This flaw is limited to shared hosting environments with improper isolation between users. The vulnerability affects 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. A patch is available to remediate this issue.

Potential Impact

An attacker who is an authenticated Moodle user with specific permissions and who operates in a misconfigured shared hosting environment can exploit this vulnerability to include local files on the server. This could lead to unauthorized disclosure of sensitive files or other impacts related to local file inclusion. The vulnerability requires both specific user permissions and a hosting environment misconfiguration, limiting its scope.

Mitigation Recommendations

A patch is available for this vulnerability and should be applied to affected Moodle versions. Administrators should ensure that their hosting environments are properly configured to isolate users and prevent unauthorized access to other users' content. Applying the official Moodle updates that fix this issue will mitigate the risk. No additional vendor advisory content contradicts these recommendations.

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-34003
Osv Schema Version
1.6.2
Aliases
["CVE-2024-34003"]
Ecosystems
["Bitnami"]
Database Specific Severity
Medium

Threat ID: 6aa00618acd9273b49ab77ab

Added to database: 09/08/2026, 12:56:56 UTC

Last enriched: 09/08/2026, 13:44:32 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