CVE-2024-34002: Moodle Authenticated LFI risk in some misconfigured shared hosting environments
In a shared hosting environment that has been misconfigured to allow access to other users' content, a Moodle user with both access to restore feedback modules and direct access to the web server outside of the Moodle webroot could execute a local file include.
Other sources
Moodle Authenticated LFI risk in some misconfigured shared hosting environments
— Packagist
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/moodle/moodleto a version that resolves this vulnerability.Fixed in 4.1.10 - Upgrade
Upgrade
composer/moodle/moodleto a version that resolves this vulnerability.Fixed in 4.2.7 - Upgrade
Upgrade
composer/moodle/moodleto a version that resolves this vulnerability.Fixed in 4.3.4
Event History
Frequently Asked Questions
What is the severity of CVE-2024-34002?
CVE-2024-34002 is considered a high severity vulnerability due to its potential for local file inclusion in a misconfigured shared hosting environment.
How do I fix CVE-2024-34002?
To fix CVE-2024-34002, upgrade to Moodle version 4.1.10, 4.2.7, or 4.3.4 as applicable.
What systems are affected by CVE-2024-34002?
CVE-2024-34002 affects Moodle installations that allow misplaced access to content in shared hosting environments.
What is the impact of CVE-2024-34002 on users?
Users with access to restore feedback modules may exploit CVE-2024-34002 to read unauthorized files, leading to sensitive data exposure.
Is there a workaround for CVE-2024-34002?
The primary mitigation for CVE-2024-34002 is to ensure proper configuration of the hosting environment to restrict unauthorized access.