CVE-2024-34004: 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 wiki 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-34004?
CVE-2024-34004 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-34004?
To fix CVE-2024-34004, upgrade Moodle to version 4.1.10, 4.2.7, or 4.3.4, depending on your current version.
What environments are affected by CVE-2024-34004?
CVE-2024-34004 affects shared hosting environments that are misconfigured, allowing users to access content from other users.
What actions can an attacker perform by exploiting CVE-2024-34004?
An attacker exploiting CVE-2024-34004 can execute a local file include to access sensitive files or information on the server.
Is user authentication relevant for CVE-2024-34004?
User authentication is not enough to protect against CVE-2024-34004 if the underlying server configuration is misconfigured.